Page MenuHomePhabricator

Imbricated tags and characters put right next
Closed, ResolvedPublic

Description

Author: vlakoff

If I try this in an edit preview:

<b>FOO<b>·</b> BAR<b>·</b> BAZ</b>

... The result is mangled and looks like this:

<b>FOO</b>· BAR<b>·</b> BAZ

The bug also happens with:
<b>FOO<b>·</b> BAR <b>·</b> BAZ</b>

But not with:
<b>FOO <b>·</b> BAR<b>·</b> BAZ</b>

The bug seems to be triggered by the placement of characters right next.

The same happens if I replace <b> tags with ''' wiki markup.

An interesting thing is that the result is correct when I try the same testcase in [[Special:ExpandTemplates]].

Version: 1.17.x

Details

Reference
bz30052

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:51 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz30052.
bzimport added a subscriber: Unknown Object (MLST).

HTML Tidy is running over the output and *fix* it, but not on [[Special:ExpandTemplates]] (bug 25888)

vlakoff wrote:

reopened. nonsense, there is no #105432. spammer?

Izno claimed this task.
Izno subscribed.

Fixed by Remex. (I guarantee nothing about what happens with '''.)