Skip to content

Commit 3fa4076

Browse files
committed
fix text parser regex for multiline tags (fix #3526)
1 parent 3627a27 commit 3fa4076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/parser/text-parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { cached } from 'shared/util'
44
import { parseFilters } from './filter-parser'
55

6-
const defaultTagRE = /\{\{((?:.|\\n)+?)\}\}/g
6+
const defaultTagRE = /\{\{((?:.|\n)+?)\}\}/g
77
const regexEscapeRE = /[-.*+?^${}()|[\]\/\\]/g
88

99
const buildRegex = cached(delimiters => {

0 commit comments

Comments
 (0)