Josh Goebel
Josh Goebel
@ccampbell Is there a reason you don't encourage this (make it more obvious) by using `textContent` or `innerText` instead of `innerHTML`? See my concerns on the thread I started on...
Version 11 of Highlight.js logs an error to the console in this situation and purposely strips all HTML (instead of rewriting it and merging it back as version 10 did)....
> So I've got this snippet: Did you try and see if all the tests still passed with that snippet?
Perhaps a `defaultRelevancy` setting at the language level would make more sense?
Well that's a bit broader topic... and either way I'd think the "default" relevance would still come into play somehow, ie a 10 would mean something different than a 1,...
I'm bringing this idea back and switching to a tiny default relevancy for regular rules (like 0.05)... just enough to make them count a bit... with the preference being that...
First, please test with latest (10.6.0) and provide link to fiddle.
 The problem is that `",` is detected as the "magic end label" (I don't know the name for this syntactic feature in C... which does not match the magic...
> d-char - A character from the basic source character set (until C++23)basic character set (since C++23), except parentheses, backslash and spaces So quotes are NOT excluded... adding a non-greedy...
This was purposely changed already in 58d911325a2157f6f31c741cd9b24630bf9275c9 so I'd prefer to find a way to keep the highlighting to the end of the file... would adding an exceptional variant here...