Steps to replicate the issue (include links if applicable):
- Enable Improved Syntax Highlighting beta feature (i.e., CodeMirror 6).
- Edit the English Wikipedia sandbox page with syntax highlighting on.
- Replace the content with -{x|}-.
What happens?:
The source text is highlighted as language conversion syntax, and an error is reported as invalid language conversion flag.
What should have happened instead?:
The source text should be highlighted as plain text, and no error should be found.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):