https://bugzilla.wikimedia.org/show_bug.cgi?id=66065

James Forrester <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
          Component|MediaWiki integration       |General
           See Also|                            |https://bugzilla.wikimedia.
                   |                            |org/show_bug.cgi?id=55400
           Assignee|jforrester+veteambztickets@ |[email protected]
                   |wikimedia.org               |
            Product|VisualEditor                |Parsoid
            Summary|VisualEditor: Unnecessary   |<span name="foo "bar""> is
                   |HTML code is shown when     |rendered as plain text
                   |adding template parameters  |
                   |with double quotes          |

--- Comment #1 from James Forrester <[email protected]> ---
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="…">&lt;span
title="test "quotes""&gt;clarification needed</a></i><span typeof="mw:Entity"
data-parsoid="…">]</span></sup>

-- 
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

Reply via email to