Index: trunk/extensions/Cite/citeParserTests.txt |
— | — | @@ -23,7 +23,8 @@ |
24 | 24 | !! result |
25 | 25 | <p>Wikipedia rocks!<sup id="cite_ref-0" class="reference"><a href="#cite_note-0">[1]</a></sup> |
26 | 26 | </p> |
27 | | -<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> Proceeds of Rockology, vol. XXI</li></ol> |
| 27 | +<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> Proceeds of Rockology, vol. XXI |
| 28 | +</li></ol> |
28 | 29 | |
29 | 30 | !! end |
30 | 31 | |
— | — | @@ -44,7 +45,8 @@ |
45 | 46 | !! result |
46 | 47 | <p>Templating<sup id="cite_ref-0" class="reference"><a href="#cite_note-0">[1]</a></sup> |
47 | 48 | </p> |
48 | | -<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> A <i>simple</i> template.</li></ol> |
| 49 | +<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> A <i>simple</i> template. |
| 50 | +</li></ol> |
49 | 51 | |
50 | 52 | !! end |
51 | 53 | |
— | — | @@ -57,7 +59,8 @@ |
58 | 60 | !! result |
59 | 61 | <p>Templating<sup id="cite_ref-0" class="reference"><a href="#cite_note-0">[1]</a></sup> |
60 | 62 | </p> |
61 | | -<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> {{simple template}}</li></ol> |
| 63 | +<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> {{simple template}} |
| 64 | +</li></ol> |
62 | 65 | |
63 | 66 | !! end |
64 | 67 | |
— | — | @@ -95,7 +98,8 @@ |
96 | 99 | !! result |
97 | 100 | <p>Templating<sup id="cite_ref-0" class="reference"><a href="#cite_note-0">[1]</a></sup> |
98 | 101 | </p> |
99 | | -<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> Text</li></ol> |
| 102 | +<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> Text |
| 103 | +</li></ol> |
100 | 104 | |
101 | 105 | !! end |
102 | 106 | |
— | — | @@ -117,7 +121,8 @@ |
118 | 122 | </div> |
119 | 123 | </div></li> |
120 | 124 | </ul> |
121 | | -<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> one</li></ol> |
| 125 | +<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> one |
| 126 | +</li></ol> |
122 | 127 | |
123 | 128 | !! end |
124 | 129 | |
— | — | @@ -152,7 +157,8 @@ |
153 | 158 | <p><sup id="cite_ref-blank_0-0" class="reference"><a href="#cite_note-blank-0">[1]</a></sup> |
154 | 159 | </p><p><sup id="cite_ref-blank_0-1" class="reference"><a href="#cite_note-blank-0">[1]</a></sup> |
155 | 160 | </p> |
156 | | -<ol class="references"><li id="cite_note-blank-0">↑ <sup><a href="#cite_ref-blank_0-0">1.0</a></sup> <sup><a href="#cite_ref-blank_0-1">1.1</a></sup> content</li></ol> |
| 161 | +<ol class="references"><li id="cite_note-blank-0">↑ <sup><a href="#cite_ref-blank_0-0">1.0</a></sup> <sup><a href="#cite_ref-blank_0-1">1.1</a></sup> content |
| 162 | +</li></ol> |
157 | 163 | |
158 | 164 | !! end |
159 | 165 | |
— | — | @@ -168,7 +174,8 @@ |
169 | 175 | <p><sup id="cite_ref-blank_0-0" class="reference"><a href="#cite_note-blank-0">[1]</a></sup> |
170 | 176 | </p><p><sup id="cite_ref-blank_0-1" class="reference"><a href="#cite_note-blank-0">[1]</a></sup> |
171 | 177 | </p> |
172 | | -<ol class="references"><li id="cite_note-blank-0">↑ <sup><a href="#cite_ref-blank_0-0">1.0</a></sup> <sup><a href="#cite_ref-blank_0-1">1.1</a></sup> 0</li></ol> |
| 178 | +<ol class="references"><li id="cite_note-blank-0">↑ <sup><a href="#cite_ref-blank_0-0">1.0</a></sup> <sup><a href="#cite_ref-blank_0-1">1.1</a></sup> 0 |
| 179 | +</li></ol> |
173 | 180 | |
174 | 181 | !! end |
175 | 182 | |
— | — | @@ -184,7 +191,8 @@ |
185 | 192 | <p><sup id="cite_ref-blank_0-0" class="reference"><a href="#cite_note-blank-0">[1]</a></sup> |
186 | 193 | </p><p><sup id="cite_ref-blank_0-1" class="reference"><a href="#cite_note-blank-0">[1]</a></sup> |
187 | 194 | </p> |
188 | | -<ol class="references"><li id="cite_note-blank-0">↑ <sup><a href="#cite_ref-blank_0-0">1.0</a></sup> <sup><a href="#cite_ref-blank_0-1">1.1</a></sup> 1</li></ol> |
| 195 | +<ol class="references"><li id="cite_note-blank-0">↑ <sup><a href="#cite_ref-blank_0-0">1.0</a></sup> <sup><a href="#cite_ref-blank_0-1">1.1</a></sup> 1 |
| 196 | +</li></ol> |
189 | 197 | |
190 | 198 | !! end |
191 | 199 | |
— | — | @@ -201,9 +209,12 @@ |
202 | 210 | <sup id="cite_ref-123test_1-0" class="reference"><a href="#cite_note-123test-1">[2]</a></sup> |
203 | 211 | <sup id="cite_ref-test123_2-0" class="reference"><a href="#cite_note-test123-2">[3]</a></sup> |
204 | 212 | </p> |
205 | | -<ol class="references"><li id="cite_note-test123test-0"><a href="#cite_ref-test123test_0-0">↑</a> One</li> |
206 | | -<li id="cite_note-123test-1"><a href="#cite_ref-123test_1-0">↑</a> Two</li> |
207 | | -<li id="cite_note-test123-2"><a href="#cite_ref-test123_2-0">↑</a> Three</li></ol> |
| 213 | +<ol class="references"><li id="cite_note-test123test-0"><a href="#cite_ref-test123test_0-0">↑</a> One |
| 214 | +</li> |
| 215 | +<li id="cite_note-123test-1"><a href="#cite_ref-123test_1-0">↑</a> Two |
| 216 | +</li> |
| 217 | +<li id="cite_note-test123-2"><a href="#cite_ref-test123_2-0">↑</a> Three |
| 218 | +</li></ol> |
208 | 219 | |
209 | 220 | !! end |
210 | 221 | |
— | — | @@ -235,7 +246,8 @@ |
236 | 247 | parameter "group" is allowed only. |
237 | 248 | Use <code><references /></code>, or <code><references group="..." /></code></strong> |
238 | 249 | </p> |
239 | | -<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> Also zero, but differently! (Normal ref)</li> |
| 250 | +<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> Also zero, but differently! (Normal ref) |
| 251 | +</li> |
240 | 252 | <li id="cite_note-bar"><a href="#cite_ref-bar_0">↑</a> <strong class="error">Cite error: Invalid <code><ref></code> tag; |
241 | 253 | no text was provided for refs named <code>bar</code></strong></li> |
242 | 254 | <li id="cite_note-blankwithnoreference"><a href="#cite_ref-blankwithnoreference_0">↑</a> <strong class="error">Cite error: Invalid <code><ref></code> tag; |
— | — | @@ -256,8 +268,10 @@ |
257 | 269 | <p>Wikipedia rocks!<sup id="cite_ref-0" class="reference"><a href="#cite_note-0">[1]</a></sup> |
258 | 270 | Wikipedia rocks!<sup id="cite_ref-1" class="reference"><a href="#cite_note-1">[note 1]</a></sup> |
259 | 271 | </p> |
260 | | -<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> Proceeds of Rockology, vol. XXI</li></ol> |
261 | | -<ol class="references"><li id="cite_note-1"><a href="#cite_ref-1">↑</a> Proceeds of Rockology, vol. XXI</li></ol> |
| 272 | +<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> Proceeds of Rockology, vol. XXI |
| 273 | +</li></ol> |
| 274 | +<ol class="references"><li id="cite_note-1"><a href="#cite_ref-1">↑</a> Proceeds of Rockology, vol. XXI |
| 275 | +</li></ol> |
262 | 276 | |
263 | 277 | !! end |
264 | 278 | |
— | — | @@ -275,11 +289,14 @@ |
276 | 290 | </p> |
277 | 291 | <dl><dt>refs |
278 | 292 | </dt></dl> |
279 | | -<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> ref a</li> |
280 | | -<li id="cite_note-2"><a href="#cite_ref-2">↑</a> ref c</li></ol> |
| 293 | +<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> ref a |
| 294 | +</li> |
| 295 | +<li id="cite_note-2"><a href="#cite_ref-2">↑</a> ref c |
| 296 | +</li></ol> |
281 | 297 | <dl><dt>notes |
282 | 298 | </dt></dl> |
283 | | -<ol class="references"><li id="cite_note-1"><a href="#cite_ref-1">↑</a> note b</li></ol> |
| 299 | +<ol class="references"><li id="cite_note-1"><a href="#cite_ref-1">↑</a> note b |
| 300 | +</li></ol> |
284 | 301 | |
285 | 302 | !! end |
286 | 303 | |
— | — | @@ -294,7 +311,8 @@ |
295 | 312 | !! result |
296 | 313 | <p><sup id="cite_ref-foo_0-0" class="reference"><a href="#cite_note-foo-0">[1]</a></sup> |
297 | 314 | </p> |
298 | | -<ol class="references"><li id="cite_note-foo-0"><a href="#cite_ref-foo_0-0">↑</a> BAR</li></ol> |
| 315 | +<ol class="references"><li id="cite_note-foo-0"><a href="#cite_ref-foo_0-0">↑</a> BAR |
| 316 | +</li></ol> |
299 | 317 | |
300 | 318 | !! end |
301 | 319 | |
— | — | @@ -309,7 +327,8 @@ |
310 | 328 | !! result |
311 | 329 | <p><sup id="cite_ref-foo_0-0" class="reference"><a href="#cite_note-foo-0">[1]</a></sup> |
312 | 330 | </p> |
313 | | -<ol class="references"><li id="cite_note-foo-0"><a href="#cite_ref-foo_0-0">↑</a> BAR</li></ol> |
| 331 | +<ol class="references"><li id="cite_note-foo-0"><a href="#cite_ref-foo_0-0">↑</a> BAR |
| 332 | +</li></ol> |
314 | 333 | |
315 | 334 | !! end |
316 | 335 | |
— | — | @@ -350,6 +369,7 @@ |
351 | 370 | !! result |
352 | 371 | <p>Wikipedia rocks!<sup id="cite_ref-0" class="reference"><a href="#cite_note-0">[wa']</a></sup> |
353 | 372 | </p> |
354 | | -<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> Proceeds of Rockology, vol. XXI</li></ol> |
| 373 | +<ol class="references"><li id="cite_note-0"><a href="#cite_ref-0">↑</a> Proceeds of Rockology, vol. XXI |
| 374 | +</li></ol> |
355 | 375 | |
356 | 376 | !! end |