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

--- Comment #7 from [email protected] ---
So, Parsoid treats HTML and extension attributes slightly differently. See
snippets below:

[subbu@earth lib] echo "A<ref name=>a</ref> B<ref name="">b</ref> C<ref
name>c</ref> D<ref name='d'>d</ref>" | node parse --wt2wt
A<ref>a</ref> B<ref>b</ref> C<ref>c</ref> D<ref name="d">d</ref>

[subbu@earth lib] echo "<span title=>a</span><span title="">b</span><span
title>c</span><span title="d">d</span>" | node parse --wt2wt
<span title="">a</span><span title="">b</span><span title="">c</span><span
title="d">d</span>

For extensions, it drops empty attributes (in whatever form they show up), and
for HTML tags, it normalizes empty attributes.

Our HTML attribute behavior conforms with what browsers do. Anything to change
/ fix here for extensions?

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