Page MenuHomePhabricator

Parsoid: Account for close/re-open of the same text style element in serializing to wikitext
Closed, ResolvedPublic

Description

To reproduce problem on http://parsoid.wmflabs.org/_html/, input:

<p><i>Original </i><i>else</i><i> here.</i></p>

Results in:

''Original ''''else'''' here.''

Which MediaWiki PHP parser currently outputs back as[1]:

<p><i>Original '<b>else'</b> here.</i></p>

[1] https://www.mediawiki.org/w/api.php?format=jsonfm&action=parse&text=''Original%20''''else''''%20here.''


Version: unspecified
Severity: normal

Details

Reference
bz48194

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:16 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz48194.
Krinkle created this task.May 7 2013, 2:40 AM

This will be fixed once bug 42803 is fixed.

  • Bug 49873 has been marked as a duplicate of this bug. ***
  • Bug 49766 has been marked as a duplicate of this bug. ***
  • Bug 49478 has been marked as a duplicate of this bug. ***
  • This bug has been marked as a duplicate of bug 42803 ***