Right now the following HTML entered by a user:
<p>Hello my [[name]] is Julian and I live in the city of Rochester, New York with my friend Sandy; we write [[books]].</p>
… turns into:
<p>Hello my <nowiki>[[name]] is Julian and I live in the city of Rochester, New York with my friend Sandy; we write [[books]].</nowiki></p>
… whereas ideally it should be minimal rather than maximal:
<p>Hello my <nowiki>[[</nowiki>name<nowiki>]]</nowiki> is Julian and I live in the city of Rochester, New York with my friend Sandy; we write <nowiki>[[</nowiki>books<nowiki>]]</nowiki>.</p>
This would significantly reduce issues with users accidentally inputting wikitext. We're taking actions in VisualEditor-land to discourage such input, but if Parsoid could help it would be hugely useful.
Version: unspecified
Severity: normal