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
Note to self: This is a bug in #3081. startsMode accounts for the new multi-class stuff, but endsMode doesn't so it's closing an extra tag that it should not.
NullVoxPopuli
added a commit
to NullVoxPopuli/highlight.js
that referenced
this issue
Apr 3, 2021
Describe the issue
I'm trying to highlight an HTML-like language, with this:
Which language seems to have the issue?
I'm writing it :)
Are you using
highlight
orhighlightAuto
?Whatever the developer.html uses
...
Sample Code to Reproduce
The developer.html shows:

Expected behavior
The
tag
wraps all the way around until the>
Additional context
if you clear the
contains
array, thetag
is correctly outlining the entire tag.The text was updated successfully, but these errors were encountered: