Page MenuHomePhabricator

&nbsp; replaced with ordinary spaces in text following a <pre> block
Closed, ResolvedPublic

Description

For some reason, non-breaking spaces turn into ordinary spaces if there is a
block of preformatted text earlier on the page. A minimal test case is:

a&nbsp;b<pre>c</pre>d&nbsp;e

The non-breaking space between a and b is rendered correctly, but for some
reason the one between d and e becomes an ordinary space. A slightly longer
test case, which should illustrate the problem clearly in CSS-capable browsers,
is at the URL given above.


Version: 1.7.x
Severity: normal
URL: http://en.wikipedia.org/wiki/User:Ilmari_Karonen/sandbox/wraptest

Details

Reference
bz6725

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:16 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz6725.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of 5569 ***