diff options
Diffstat (limited to 'static/index.js')
-rw-r--r-- | static/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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: { |