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
I posted this issue originally on the the highlight.js repository but I guess the problem is on this port rather than on the JS library itself: highlightjs/highlight.js#3743
I posted this issue originally on the the highlight.js repository but I guess the problem is on this port rather than on the JS library itself:
highlightjs/highlight.js#3743
Describe the issue
Having something like this:
The whole
optionToSelect = $options.find(
gets the same color without separating thefind
function.I'm not using auto-detection.
Picture:
Here's the right coloring using the latest version of the JS component highlight.js. Notice the "find" gets colored.
https://jsfiddle.net/chy5nd72/
Sample Code to Reproduce
This is how jsfiddle shows it:
This is how Prism.js shows it:
Expected behavior
It should look more like this:
The text was updated successfully, but these errors were encountered: