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

--- Comment #14 from [email protected] ---
To further clarify:

123 <figure/> 456 and <p>123</p> <figure/> <p>456</p> render identically in the
browser modulo any CSS styles set on p-tags.  We verified this on en.wp.org and
the difference is in a small bottom margin on p-tags.  However, this can fixed
in two ways:

1. gwicke indicated that VE wraps all plain text into p-tags anyway, so would
this take care of it?  Can we verify this on the VE end?

2. Since figure only shows up in Parsoid's output, not PHP parser output, could
this be equivalently fixed by adding some appropriate top/bottom margin on
figure as required?

We could fix this in the p-wrapper, but it seems unnecessary and we are keen to
avoid adding special cases in addition to what already exists in the code to
deal with PHP parser oddities and old hacks.  Special cases add longer-term
maintenance headaches.  So, if that could be avoided by (1) and/or (2) above,
that would be the best solution all around given that current Parsoid output
RTs correctly and is valid HTML as gwicke indicated.

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