diff --git a/static/index.js b/static/index.js index b6f2754..b2e1b45 100644 --- a/static/index.js +++ b/static/index.js @@ -23,7 +23,7 @@ const prismGrammar = { greedy: true, }, string: { - pattern: /"(?:\\(?:\r\n|[\s\S])|(?!")[^\\\r\n])*"/, + pattern: /"((?:[^"\\]|\\.)*)"/, greedy: true, }, module: {