Bug 31374: regression test made by Brion

Was originally added by accident with r101522 and lost with r105321.
I add to add a newline before </li>, probably some format changed somewhere.

Added it back just so we do not lost this test.
This commit is contained in:
Antoine Musso 2011-12-13 11:16:51 +00:00
parent 6917ad1448
commit 2ebda89b06
Notes: Antoine Musso 2011-12-13 11:16:51 +00:00

View file

@ -373,3 +373,19 @@ Wikipedia rocks!<ref group="klingon">Proceeds of Rockology, vol. XXI</ref>
</li></ol>
!! end
!! test
Bug 31374 regression check: nested strip items
!! input
{{#tag:ref|note<ref>reference</ref>|group=Note}}
<references group=Note />
<references />
!! result
<p><sup id="cite_ref-1" class="reference"><a href="#cite_note-1">[Note 1]</a></sup>
</p>
<ol class="references"><li id="cite_note-1"><a href="#cite_ref-1">↑</a> note<sup id="cite_ref-0" class="reference"><a href="#cite_note-0">[1]</a></sup>
</li></ol>
<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> reference
</li></ol>
!! end