Last modified: 2012-04-09 19:04:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37789, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35789 - A last text fragment from a block element is not included in the paragraph if it does not end with a new line
A last text fragment from a block element is not included in the paragraph if...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.19
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-07 09:41 UTC by Beau
Modified: 2012-04-09 19:04 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Parser test (327 bytes, text/plain)
2012-04-07 09:42 UTC, Beau
Details

Description Beau 2012-04-07 09:41:45 UTC
A user from Polish Wikisource reported to me that a last text fragment from a block element is not included in the paragraph if it does not end with a new line.

For an input:
<div>
A<br />
C
</div>

MediaWiki produces:
<div>
<p>A<br />
C
</p>
</div>

Both A and C are in the same paragraph. That's ok.

For an input:
<div>
A<br />
C</div>

MediaWiki produces:
<div>
<p>A<br />
</p>
C</div>

C is not included in the paragraph.
Comment 1 Beau 2012-04-07 09:42:58 UTC
Created attachment 10388 [details]
Parser test

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links