Merge "Get document data using updated interface"

This commit is contained in:
jenkins-bot 2018-07-29 00:32:45 +00:00 committed by Gerrit Code Review
commit d6dd82d782

View file

@ -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