-
Notifications
You must be signed in to change notification settings - Fork 214
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
Double "</script>" output in JS language #8
Comments
Dear Kalydon, best regards, Andi |
the fix will be included within the next release. it's a bug within the new tokenizer (missing exit condition) |
Andi, that sounds great! Any idea when the next release will happen? If the release is still some time away, could you provide the fix here in this topic already, since highlighting JS code is fairly important for my usage. Thank you! Kalydon |
the release will follow in the next few hours |
Andi, that's just awesome! thanks for such a quick fix! Kalydon |
v2.8.0 is out including the bugfix! |
Hi,
with v2.7.0, when attempting to highlight JS code that is also enclosed in the "
<script type="text/javascript">
" and "</script>
" lines, Enlighter is outputting the "</script>
" part twice at the end. While those two lines are of course not technically JS code (but usually included), v2.6.0 of Enlighter could render it just fine. This would be a sample code that causes the issue:Kalydon
The text was updated successfully, but these errors were encountered: