Wrong detect of Parsing error: invalid-first-character-of-tag-name
in expression.
Thank you for the report.
This is a correct error as according to HTML spec:
- invalid-first-character-of-tag-name error.
- Tag open state's
Anything else
step.
To make valid HTML, you should use <
instead of the <
.
Or you can ignore the error by the option of vue/no-parsing-error
rule: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/no-parsing-error.md#wrench-options
用<来表示<,使用了xml转义
https://owasp.org/www-community/password-special-characters
" !"#$%&'()*+,-./:;<=>?@[]^_`{|}~"
转义之后变成下面这个样子https://coderstoolbox.net/string/#!encoding=xml&action=encode&charset=us_ascii
" !"#$%&'()*+,-./:;<=>?@[]^_`{|}~"