Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
QML: Made string greedy (#3250)
  • Loading branch information
RunDevelopment committed Dec 10, 2021
1 parent 5ee8c55 commit 1e6dcb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion components/prism-qml.js
Expand Up @@ -50,7 +50,10 @@
alias: 'language-javascript',
inside: Prism.languages.javascript
},
'string': /"(?:\\.|[^\\"\r\n])*"/,
'string': {
pattern: /"(?:\\.|[^\\"\r\n])*"/,
greedy: true
},
'keyword': /\b(?:as|import|on)\b/,
'punctuation': /[{}[\]:;,]/
};
Expand Down
2 changes: 1 addition & 1 deletion components/prism-qml.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1e6dcb5

Please sign in to comment.