Skip to content

Commit

Permalink
Multiline strings
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
lpil committed Jan 16, 2024
1 parent 29da9b5 commit 3f3a567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const prismGrammar = {
greedy: true,
},
string: {
pattern: /"(?:\\(?:\r\n|[\s\S])|(?!")[^\\\r\n])*"/,
pattern: /"((?:[^"\\]|\\.)*)"/,
greedy: true,
},
module: {
Expand Down

0 comments on commit 3f3a567

Please sign in to comment.