mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
Fix Cite/CategoryTree parser test
Apparently the initial space in the class name and the double-escaping of the JSON were both fixed at some point in the past. I haven't tracked it down, but the change looks beneficial on the face of it. Change-Id: Ibb30789093bfec8b4e6399e3a97629c6b876a616
This commit is contained in:
parent
6acd4d212f
commit
f5ba49d3e6
|
@ -15,7 +15,7 @@ Bug 20748 - <references /> doesn't work after category tree in some cases
|
|||
!! result
|
||||
<p><sup id="cite_ref-0" class="reference"><a href="#cite_note-0">[1]</a></sup>
|
||||
</p>
|
||||
<div class=" CategoryTreeTag" data-ct-mode="0" data-ct-options="{&quot;mode&quot;:0,&quot;hideprefix&quot;:20,&quot;showcount&quot;:true,&quot;namespaces&quot;:false}"><div class="CategoryTreeSection"><div class="CategoryTreeItem"><span class="CategoryTreeEmptyBullet">[<b>×</b>] </span> <a class="CategoryTreeLabel CategoryTreeLabelNs14 new CategoryTreeLabelCategory" href="/index.php?title=Category:Articles_tagged_for_deletion_and_rescue&action=edit&redlink=1">Articles tagged for deletion and rescue</a> <span title="Contains 0 subcategories, 0 pages, and 0 files" dir="ltr">(empty)</span></div>
|
||||
<div class="CategoryTreeTag" data-ct-mode="0" data-ct-options="{"mode":0,"hideprefix":20,"showcount":true,"namespaces":false}"><div class="CategoryTreeSection"><div class="CategoryTreeItem"><span class="CategoryTreeEmptyBullet">[<b>×</b>] </span> <a class="CategoryTreeLabel CategoryTreeLabelNs14 new CategoryTreeLabelCategory" href="/index.php?title=Category:Articles_tagged_for_deletion_and_rescue&action=edit&redlink=1">Articles tagged for deletion and rescue</a> <span title="Contains 0 subcategories, 0 pages, and 0 files" dir="ltr">(empty)</span></div>
|
||||
<div class="CategoryTreeChildren" style="display:block"><i class="CategoryTreeNotice">no subcategories</i></div></div>
|
||||
</div>
|
||||
<ol class="references"><li id="cite_note-0"><span class="mw-cite-backlink"><a href="#cite_ref-0">↑</a></span> <span class="reference-text">ref</span>
|
||||
|
|
Loading…
Reference in a new issue