Esanders has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/173805

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor 
refs/changes/05/173805/1

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: newchange
Gerrit-Change-Id: Iae18b6a1d9bd927cdd40e3593d525fd58a4ee868
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>

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

Reply via email to