iuyoy/highlight-string-code

v0.4.4 fix results in URL being read as JS

Closed this issue · 1 comments

A url that begins with https://js.cdn.something/somescript.js incorrectly starts a JS block

iuyoy commented

Thanks josh,
I have modified the JS highlight regex pattern to avoid matching the case "://js". This change is available in v0.4.5.
I hope it can be helpful.