From a2231cb6cae806325dc3be12e5922000aa35443e Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Fri, 8 Jun 2012 16:00:30 -0700 Subject: [PATCH] jQuery expects a string for the data, not a DOM element Change-Id: I16b6f00952a2d9e38d631409b9bf3dd7ada644e7 --- modules/core/ve.Core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/ve.Core.js b/modules/core/ve.Core.js index b74276daf4..0970be621a 100644 --- a/modules/core/ve.Core.js +++ b/modules/core/ve.Core.js @@ -383,7 +383,7 @@ 'action': 've-parsoid', 'paction': 'save', 'page': mw.config.get( 'wgPageName' ), - 'html': html, + 'html': $(html).html(), 'token': mw.user.tokens.get('editToken'), 'summary': summary, 'minor': minor,