You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the suggestion @severn-everett. You are right, that technically the code should be escaped.
It's been a while since I looked at this. IIRC I was trying to use a JavaScript library for code syntax highlighting, which required the angled brackets were rendered as-is, because it needed to parse the code. It would then perform its own escaping.
I want to display a
Map<String, String>
in an HTML page.The code is not display 'raw' though, and the generic parameters are converted into HTML tags
<string, string="">
- very strange!The code rendered in my browser does not match the raw string.
Expected result
If I don't use
JSDOMBBuilder
, then the HTML matches the raw content:Compose Web
With Compose Web v1.2.2 I am also able to output raw content
However, Compose Web escapes the angled brackets.
The result matches the raw input:
Versions
The text was updated successfully, but these errors were encountered: