mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 15:04:02 +00:00
Add rough HTML DOM to WikiDom conversion. You can see serialized WikiDom of
parser tests using 'node parserTests.js --wikidom'.
This commit is contained in:
parent
7a6f71db2f
commit
730b75ca21
|
@ -257,7 +257,8 @@ Cite.prototype.onReferences = function ( tokenCTX ) {
|
|||
type: 'TAG',
|
||||
name: 'ol',
|
||||
attribs: [
|
||||
['class', 'references']
|
||||
['class', 'references'],
|
||||
['data-object', 'references'] // Object type
|
||||
]
|
||||
}
|
||||
].concat( listItems, { type: 'ENDTAG', name: 'ol' } );
|
||||
|
|
Loading…
Reference in a new issue