We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac14be commit dfe3760Copy full SHA for dfe3760
src/parsers/text.js
@@ -22,8 +22,8 @@ export function compileRegex () {
22
var unsafeOpen = escapeRegex(config.unsafeDelimiters[0])
23
var unsafeClose = escapeRegex(config.unsafeDelimiters[1])
24
tagRE = new RegExp(
25
- unsafeOpen + '([^]+?)' + unsafeClose + '|' +
26
- open + '([^]+?)' + close,
+ unsafeOpen + '((?:.|\\n)+?)' + unsafeClose + '|' +
+ open + '((?:.|\\n)+?)' + close,
27
'g'
28
)
29
htmlRE = new RegExp(
0 commit comments