Page MenuHomePhabricator

Recognize </br> and convert them to a <br/>
Closed, ResolvedPublic

Description

When going through domino code to fix the formatting tag issues I noticed that domino recognizes </br>. That tells me that this is a very common error. So, maybe we ought to recognize that in the HTML treebuilder and convert into an end-tag for <br> so that the tree builder either swallows it or generates <br>. In some cases, this will lead to dirty diffs, but that seems like an acceptable fix.


Version: unspecified
Severity: normal

Details

Reference
bz50831

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:49 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz50831.
ssastry created this task.Jul 5 2013, 7:56 PM

Change 72684 had a related patch set uploaded by GWicke:
Bug 50831: Support broken </br>

https://gerrit.wikimedia.org/r/72684

Change 72684 merged by jenkins-bot:
Bug 50831: Support broken </br>

https://gerrit.wikimedia.org/r/72684