Empty list items goes missing in the PHP parser when tidy is enabled


Take a look at the URL.

When you see the output page, the list has three items. If you edit it in the source editor, you'll see that there's an extra empty item in the end of the list. If you edit it in the VisualEditor, you'll see it rendered.

The VisualEditor behavior actually makes more sense to me. Gabriel Wicke suggested on IRC to open this issue at the PHP parser.

Version: 1.22.0
Severity: normal
URL: https://www.mediawiki.org/wiki/VisualEditor:Empty_list_item

bzimport added a project: MediaWiki-Parser.Via ConduitNov 22 2014, 1:38 AM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz47673.
Amire80 created this task.Via LegacyApr 25 2013, 10:17 PM
GWicke added a comment.Via ConduitDec 3 2013, 11:18 PM
  • Bug 52374 has been marked as a duplicate of this bug. ***

Add Comment