From 5ee35e2c6a31abb724375c862413deb7ca3ca66f Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 9 Jul 2015 11:39:43 +0100 Subject: [PATCH] ApiVisualEditor: Ask Parsoid to 'scrubWikitext' on save Bug: T105239 Change-Id: I9e39dc2c12a3262431d15629c89fa90ba0fd73bc --- ApiVisualEditor.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ApiVisualEditor.php b/ApiVisualEditor.php index 0fcf034431..26c0a72ed4 100644 --- a/ApiVisualEditor.php +++ b/ApiVisualEditor.php @@ -157,6 +157,7 @@ class ApiVisualEditor extends ApiBase { array( 'html' => $html, 'oldid' => $parserParams['oldid'], + 'scrubWikitext' => 1, ) ); }