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

James Forrester <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
          Component|General                     |General
           Assignee|[email protected]    |[email protected]
            Product|VisualEditor                |Parsoid
            Summary|VisualEditor: references    |<ref name="Foo "Bar" Baz"
                   |with name followed by more  |/> breaks parsing of <ref>,
                   |than two " not seen as      |is rendered as plain text
                   |references                  |

--- Comment #1 from James Forrester <[email protected]> ---
Problem is in Parsoid:

<ref name="Foo 'Bar' Baz">Foo</ref>

->

<p data-parsoid="{&quot;dsr&quot;:[0,35,0,0]}"><span about="#mwt2"
class="reference"
data-mw="{&quot;name&quot;:&quot;ref&quot;,&quot;body&quot;:{&quot;html&quot;:&quot;Foo&quot;},&quot;attrs&quot;:{&quot;name&quot;:&quot;Foo
'Bar' Baz&quot;}}" id="cite_ref-Foo 'Bar' Baz-1-0" rel="dc:references"
typeof="mw:Extension/ref" data-parsoid="{&quot;src&quot;:&quot;<ref
name=\&quot;Foo 'Bar'
Baz\&quot;>Foo</ref>&quot;,&quot;dsr&quot;:[0,35,26,6]}"><a
href="#cite_note-Foo 'Bar' Baz-1">[1]</a></span></p>


But:

<ref name="Foo "Bar" Baz">Foo</ref>

->

<p data-parsoid="{&quot;dsr&quot;:[37,72,0,0]}">&lt;ref name="Foo "Bar"
Baz"&gt;Foo&lt;/ref&gt;</p>

Arguably this is horribly-broken wikitext and should be burnt with fire, of
course.

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