diff --git a/src/languages/gml.js b/src/languages/gml.js index e161e6ca96..7a08977e4e 100644 --- a/src/languages/gml.js +++ b/src/languages/gml.js @@ -1170,14 +1170,14 @@ export default function(hljs) { variants: [ { begin: /\$"/, - end: "\"", + end: /\"/, beginScope: "string", endScope: "string", contains: [ STRING_ESCAPE, STRING_SUBSTITUTION, { - match: /[^\n"{]/, + match: /[^\n"{\\]+/, scope: "string" } ]