Closed
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.76.0
- OS Version: Windows 11/Linux
Steps to Reproduce:
- Create a new xml document
- Paste the following xml, or any xml which contains a comment ending in
--->
with more than 2 dashes
<test>
<!-- comment --->
</test>
This issue was previously reported here: in #58076 and #62221, however, the bug reports were moved to the atom/language-xml repository. Over there, a PR was eventually opened to solve the issue: atom/language-xml#101. However, since Atom is now discontinued, the PR will never be merged into the atom/language-xml repository.
To fix this bug, VSCode will have to switch to a different XML grammar, like for PHP (see #162707) and all the other grammars it uses from Atom.