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

Gabriel Wicke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|JS/General                  |General
           Assignee|[email protected]        |[email protected]
            Product|Parsoid                     |VisualEditor
            Summary|Parsoid: Re-used refs       |VisualEditor: Re-used refs
                   |contain unescaped HTML in   |wrongly expanded to <ref
                   |attributes which causes     |name="…" ></span>
                   |issues in Firefox           |

--- Comment #5 from Gabriel Wicke <[email protected]> ---
This is what I see using wget, FF, and the parse.js in the shell:

<span id="cite_ref-rfc3092-1-0" class="reference" about="#mwt5"
typeof="mw:Object/Ext/Ref" data-parsoid='{"src":"<ref name=\"rfc3092\"
/>","tsr":[416,438],"dsr":[416,438,null,null]}'><a href="#cite_note-rfc3092-1"
data-parsoid="{}">[1]</a></span><meta typeof="mw:Ext/Ref/Marker" about="#mwt5"
group="" name="rfc3092" content="" skiplinkback="0"
data-parsoid='{"tsr":[416,438],"selfClose":true,"src":"<ref name=\"rfc3092\"
/>","dsr":[416,438,22,0]}'>

Make sure you are not looking at a pretty-printed inspect tool. Either use
innerHTML (which will use non-smart quoting) or the actual page source (ctrl-u
in Firefox).

From what I see Firefox parses our HTML just fine on the way in, with the
entire JSON string being parsed as the attribute value. Do you actually see a
parsing difference on the way in resulting in a different DOM?

Changing the title back, as I am pretty sure this is not a bug on our end.

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