Replies: 1 comment
-
Yes, it is a deliberate subtle behavior. SVG and MathML elements are specific "foreign" elements which do not get the HTML case normalization. They have specific casing. You can see the specific rules in https://html.spec.whatwg.org/multipage/parsing.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I believe JSoup by default normalizes to lower case.
Output:
But when the tag is svg, it does not:
Output:
I'm not sure if this is a bug or some subtlety of intended behaviour that I've not quite understood.
Beta Was this translation helpful? Give feedback.
All reactions