jenkins-bot has submitted this change and it was merged.

Change subject: Remove data-parsoid removal hack
......................................................................


Remove data-parsoid removal hack

Bug: 72426
Change-Id: Iae18b6a1d9bd927cdd40e3593d525fd58a4ee868
---
M src/dm/ve.dm.Node.js
1 file changed, 2 insertions(+), 3 deletions(-)

Approvals:
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/dm/ve.dm.Node.js b/src/dm/ve.dm.Node.js
index dcd28a9..70567d4 100644
--- a/src/dm/ve.dm.Node.js
+++ b/src/dm/ve.dm.Node.js
@@ -269,8 +269,8 @@
 /**
  * Get a clone of the node's document data element.
  *
- * The attributes object will be deep-copied, and the .htmlAttributes and 
.internal.generated
- * properties will be removed if present.
+ * The attributes object will be deep-copied and the .internal.generated
+ * property will be removed if present.
  *
  * @returns {Object} Cloned element object
  */
@@ -282,7 +282,6 @@
                        delete clone.internal;
                }
        }
-       this.constructor.static.removeHtmlAttribute( clone, 'data-parsoid' );
        return clone;
 };
 

-- 
To view, visit https://gerrit.wikimedia.org/r/173805
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iae18b6a1d9bd927cdd40e3593d525fd58a4ee868
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Esanders <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to