Self-closing nowiki tags do not highlight properly.
jcdhan1 opened this issue · 1 comments
jcdhan1 commented
The self-closing nowiki tag: <nowiki />
is permissible according to MediaWiki. In addition to the examples presented on that Help page, other usages of it include preserving leading spaces after pipes | in template and parser function calls.
{{Some template|Some parameter=<nowiki /> this value will have a space before it}}
Example of how highlighting it should work (Fandom's Wikitext editor):
What the Wikitext-VSCode-Extension currently does is treat it like a opening nowiki tag so all code after it is not highlighted until there is a closing nowiki tag.