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

--- Comment #9 from ssas...@wikimedia.org ---
This should be possible to fix -- but requires additional tweaking of the
p-wrapper. 

Tweaking the 'isBlockToken' by itself is insufficient since the output is
wrapping everything in a single para whereas we effectively need p-breaks
before and after the figure.

We will probably need a special case in the p-wrapper for <figure>.

But, the question is if we need <p>Lorem</p> <figure> .. </figure> <p>Ipsum</p>
really if browsers treat the <figure> tag as a block element.  Doesn't "Lorem
<figure> .. </figure> Ipsum"? give you the same thing since the browser should
break the flow before/after figure?  Or is figure a flow element?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to