-
Notifications
You must be signed in to change notification settings - Fork 1
Problem with xml highlighting #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Wonder if it can be related to this commit highlightjs/highlight.js@7addd66 which looks like is in v11.6.0 |
Hello. That's likely. |
Yeah, so I guess that it could take a long time getting this fixed. |
Maybe we could test if it is possible to force using 11.6.0 in our wrapper and see what happens. |
That would be lovely, I have no clue if that major bump is a real incompatibility. |
Describe the bug
When trying out the highlighter on an xml document with "special" letters in element names the highlight looks wrong.
If you try the demo application on the following input (using XML language):
You get the following result

Note the unformatted second element.
I tried if I could reproduce it using https://highlightjs.org/demo it works there.
I really have no clue what could cause this.
Expected behavior
No response
Minimal reproducible example
No response
Add-on Version
1.0.0
Vaadin Version
24.7.5
Additional information
No response
The text was updated successfully, but these errors were encountered: