mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-15 02:55:04 +00:00
Merge "Get document data using updated interface"
This commit is contained in:
commit
d6dd82d782
|
@ -161,7 +161,7 @@ ve.dm.MWReferenceNode.static.toDomElements = function ( dataElement, doc, conver
|
|||
// Add reference contents to data-mw.
|
||||
if ( setContents && !contentsAlreadySet ) {
|
||||
converter.getDomSubtreeFromData(
|
||||
itemNode.getDocument().getFullData( itemNodeRange, true ),
|
||||
itemNode.getDocument().getFullData( itemNodeRange, 'roundTrip' ),
|
||||
itemNodeWrapper
|
||||
);
|
||||
itemNodeHtml = itemNodeWrapper.innerHTML; // Returns '' if itemNodeWrapper is empty
|
||||
|
|
Loading…
Reference in a new issue