Last modified: 2014-08-20 22:13:17 UTC
To reproduce: 1. Edit an article in the English Wikipedia. 2. Press Insert -> Template. 3. Enter "Clarify" as the template name. Press "Add template". 4. Press "Add more information". 5. Press "reason". 6. Write the following line in the input box: test "quotes" (include the double quotes as in the line above) 7. Press "Insert template". Observed: The inserted template says: [<span title="test "quotes"">clarification needed] Expected: The inserted template should say: [clarification needed]
This is a Parsoid problem, though arguably a bug with the template – it's failing to escape user input and so breaks if the users' input has a terminal quote. Wikitext input: {{Clarify|reason = test "quotes"}} MW parser output: <sup class="noprint Inline-Template" style="white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Please_clarify" title="Wikipedia:Please clarify"><span>clarification needed</span></a></i>]</sup> Parsoid output: <sup class="noprint Inline-Template " style="white-space:nowrap;" about="#mwt21" typeof="mw:Transclusion" data-mw="…" data-parsoid="…"><span typeof="mw:Entity" data-parsoid="…">[</span><i data-parsoid="…"><a rel="mw:WikiLink" href="../Wikipedia:Please_clarify" data-parsoid="…"><span title="test "quotes"">clarification needed</a></i><span typeof="mw:Entity" data-parsoid="…">]</span></sup>
*** This bug has been marked as a duplicate of bug 69652 ***