fixed content regex
This commit is contained in:
1 parent
831acd3516
commit
fa0d880e68
4 files changed
+33
-6
No files matched your search
+1
-1
@@ -603,7 +603,7 @@ const django = grammar({
|
||||
endTagOpen: ($) => seq("{%", $._group_open_tag_read, optional(SEP)),
|
||||
endTagClose: ($) =>
|
||||
seq(optional($.unexpected_argument), $._group_close, optional(SEP), "%}"),
|
||||
content: ($) => /(?:[^\{]|\{[^\{#%}])+/,
|
||||
content: ($) => /(?:[^\{]|\{[^\{#%])+/,
|
||||
// the separator between the parts of a tag; see SEP
|
||||
_sep: ($) => /[ \t\r\n]+/,
|
||||
template_node: ($) =>
|
||||
|
||||
Reference in new issue
Block a user