https://bugzilla.wikimedia.org/show_bug.cgi?id=50841
Web browser: ---
Bug ID: 50841
Summary: <nowiki> tags should be applied to the minimal rather
than maximal content
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l