Page MenuHomePhabricator

Parsoid: Does not insert a necessary <nowiki /> between </i></b> and <i>
Closed, ResolvedPublic

Description

Create some text - e.g. "Expe dit ious". Set the first seven characters as bold, and the last seven as italics. Round-trip.

Expected wikitext: '''Expe''dit'''''<nowiki></nowiki>''ious''

Expected HTML: <strong>Expe<em>dit</em></strong><em>ious</em>

Actual wikitext:'''Expe''dit'''''''ious''

Actual HTML: <strong>Expe<em>dit''</em></strong>ious


Version: unspecified
Severity: normal

Details

Reference
bz37846

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:30 AM
bzimport added a project: Parsoid-Serializer.
bzimport set Reference to bz37846.

Mass-moving items into VisualEditor product

Pushing to next milestone as they did not make it to master by yesterday.

Please try to reproduce again, if it's still broken, move it into Parsoid.

Confirmed that the HTML send from VE to Parsoid is:

"<p data-parsoid="{&quot;dsr&quot;:[0,25]}"><b>Expe<i>dit</i></b><i>ious</i></p>"

But that behaviour by Parsoid is as before. Assigning there.