fix: missing erroneous end tag

This commit is contained in:
elianiva 2021-02-16 00:41:58 +07:00 committed by Stephan Seitz
parent 72d38fc44b
commit 25bb379a05

View file

@ -1,9 +1,3 @@
(tag_name) @tag
(attribute_name) @property
(attribute_value) @string
(quoted_attribute_value) @string
(comment) @comment
((element (start_tag (tag_name) @_tag) (text) @text.title)
(#match? @_tag "^(h[0-9]|title)$"))
@ -30,6 +24,21 @@
(quoted_attribute_value (attribute_value) @text.uri))
(#eq? @_attr "href"))
(tag_name) @tag
(attribute_name) @property
(errorneous_end_tag_name) @error
(comment) @comment
[
(attribute_value)
(quoted_attribute_value)
] @string
[
(text)
(raw_text_expr)
] @none
[
(special_block_keyword)
(then)