Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8329
unittests.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 11:57 PM
2014-11-21 23:57:34 (UTC+0)
Size
872 B
Referenced Files
None
Subscribers
None
unittests.diff
View Options
Index: Cite/citeParserTests.txt
===================================================================
--- Cite/citeParserTests.txt (revision 99057)
+++ Cite/citeParserTests.txt (working copy)
@@ -353,3 +353,17 @@
<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> Proceeds of Rockology, vol. XXI</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
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7853
Default Alt Text
unittests.diff (872 B)
Attached To
Mode
T33374: Nested refs expose strip markers
Attached
Detach File
Event Timeline
Log In to Comment