Page MenuHomePhabricator

Newlines in <div> tags cause <p> tags to wrap wrong content
Closed, DuplicatePublic


When using newlines in <div> tags, the <p> tags will wrap the wrong content. See for a demo and where this actually causes a problem in a real template.

Event Timeline

Nirmos created this task.Jan 7 2016, 4:47 AM
Nirmos raised the priority of this task from to Needs Triage.
Nirmos updated the task description. (Show Details)
Nirmos added a subscriber: Nirmos.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptJan 7 2016, 4:47 AM
ssastry triaged this task as Medium priority.Jan 4 2017, 6:47 PM
ssastry added a subscriber: ssastry.

Yes, known issue with doBlockLevels in the core parser. There is no easy fix for this right now. Something that might be fixed as part of work we are doing to unify behind a single parser.