Page MenuHomePhabricator

Consecutive nowiki tags should be collapsed
Open, MediumPublic

Description

In this edit, VE added many nowiki tags including consecuvite ones <nowiki>...</nowiki><nowiki>...</nowiki>: consecutive tags should be merged.

[subbu@earth:~/work/wmf/parsoid] echo "<p> [[foo]]</p>" | php bin/parse.php --html2wt
<nowiki> </nowiki><nowiki>[[foo]]</nowiki>

Event Timeline

NicoV raised the priority of this task from to Needs Triage.
NicoV updated the task description. (Show Details)
NicoV subscribed.

Okay, a simple merge heuristic should be able to take care of this.

ssastry triaged this task as Medium priority.Aug 5 2015, 3:11 PM
ssastry set Security to None.

@ssastry

An other example, a lot more awful than the previous one... 2 self closing nowiki tags, just between 2 italics formatting (meaning italics around nothing)...
''<nowiki/><nowiki/>''

ssastry renamed this task from Consecutive nowiki tags to Consecutive nowiki tags should be collapsed.Mar 14 2020, 3:25 AM
ssastry updated the task description. (Show Details)
ssastry moved this task from Backlog to Feature requests on the Parsoid board.