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:
Gabriel Wicke 2011-12-14 15:15:41 +00:00
parent 7a6f71db2f
commit 730b75ca21

View file

@ -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' } );