Skip to content

Commit

Permalink
Fix typoscript string pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
FIameCaster committed May 1, 2024
1 parent 550c39f commit 770e9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/src/prism/languages/typoscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ languages.tsconfig = languages.typoscript = {
}
],
'string': {
pattern: /^([^=]*=[< ]?)[^\]\n]+/,
pattern: /^((?:[^=]|=\n)*=[< ]?).*[^\n\]]/,
lookbehind: true,
inside: {
'function': /\{\$.*\}/, // constants include
Expand Down

0 comments on commit 770e9bb

Please # to comment.