jenkins-bot has submitted this change and it was merged. Change subject: Fix 1919fffc: forgot to add getInnerWhitespace() in one place ......................................................................
Fix 1919fffc: forgot to add getInnerWhitespace() in one place Change-Id: Ia90d671100ae445ef414c6aff7b27d078ba82ffc --- M modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js 1 file changed, 6 insertions(+), 1 deletion(-) Approvals: Krinkle: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js index 25c5fe8..a101fc2 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js @@ -837,7 +837,12 @@ } // Get Wikitext from the DOM this.serialize( - this.docToSave || ve.dm.converter.getDomFromData( doc.getFullData(), doc.getStore(), doc.getInternalList() ), + this.docToSave || ve.dm.converter.getDomFromData( + doc.getFullData(), + doc.getStore(), + doc.getInternalList(), + doc.getInnerWhitespace() + ), ve.bind( function ( wikitext ) { var $form, options = this.getSaveOptions(), -- To view, visit https://gerrit.wikimedia.org/r/97501 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia90d671100ae445ef414c6aff7b27d078ba82ffc Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Catrope <roan.katt...@gmail.com> Gerrit-Reviewer: Krinkle <krinklem...@gmail.com> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits