Page MenuHomePhabricator

Nested definition list in wikicode. Continuation after nested list fails.
Closed, DuplicatePublic

Description

Author: wmbgzll

Description:
Wikicode:

; term 1
: description of term 1
; term 2
: this description contains a list
:; term 2-1
:: description of term 2-1
:; term 2-2
:: description of term 2-2
; term 3
: description of term 3

The list is broken after the nested list. Shouldn't it work like this?

If you add a (empty) description at main level, the list is not broken:

; term 1
: description of term 1
; term 2
: this description contains a list
:; term 2-1
:: description of term 2-1
:; term 2-2
:: description of term 2-2
:
; term 3
: description of term 3

Tested with MediaWiki 1.22.3, $wgUseTidy: false. The empty description (<dd></dd>) is in produced HTML.
Tested with MediaWiki 1.23wmf18 (rMW3ebd53e03e69), $wgUseTidy: true. The empty description (<dd></dd>) is not in produced HTML.


Version: 1.23.0
Severity: normal

Details

Reference
bz62758