Page MenuHomePhabricator

<div></div> block generates <p>
Closed, ResolvedPublic

Description

Author: JeanCharles.Longuet

Description:
Text on the same line than an opening or closing 'div' tag exclude said line from generated <p></p> block

For example :

<div>line1
line2
line3
line4
line5
</div>

Generates :

<div>
line1
<p>line2 line3 line4 line5 </p>
</div>

  1. Is the <p></p> generation a bug or a feature ?
  2. If not a bug, is this single line exclusion a bug or feature ?

Version: unspecified
Severity: minor

Details

Reference
bz53043

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:58 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz53043.
bzimport added a subscriber: Unknown Object (MLST).

This is an "ascended bug" – that behavior probably wasn't intended, but now so many pages depend on it that changing it is practically impossible.

  • This bug has been marked as a duplicate of bug 9207 ***