Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Multiline misparsing of JS strings #68

Open
Erutuon opened this issue Sep 24, 2017 · 0 comments
Open

Multiline misparsing of JS strings #68

Erutuon opened this issue Sep 24, 2017 · 0 comments

Comments

@Erutuon
Copy link

Erutuon commented Sep 24, 2017

In the code below, Syntaxtic misparsed some strings delimited by single quotes. I looked at the code of syntaxhighlighter.js and it looks like it uses applies multi-line string regex. That could be the reason. JS strings are single-line, except the newly added ones marked by backticks.

syntaxticbug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant