mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
ApiVisualEditor: Ask Parsoid to 'scrubWikitext' on save
Bug: T105239 Change-Id: I9e39dc2c12a3262431d15629c89fa90ba0fd73bc
This commit is contained in:
parent
d69efc426d
commit
5ee35e2c6a
|
@ -157,6 +157,7 @@ class ApiVisualEditor extends ApiBase {
|
|||
array(
|
||||
'html' => $html,
|
||||
'oldid' => $parserParams['oldid'],
|
||||
'scrubWikitext' => 1,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue