mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
ApiVisualEditor: Update getPreloadContent's parseWikitextFragment call
9770c806
missed updating this call; update it to include bodyOnly parameter.
Bug: T186884
Bug: T186934
Change-Id: I616101f6bf3bd0b3af2236207c2ac217988d1724
This commit is contained in:
parent
7bd26fb361
commit
468c913cb9
|
@ -167,7 +167,7 @@ class ApiVisualEditor extends ApiBase {
|
|||
|
||||
if ( $parse ) {
|
||||
// We need to turn this transformed wikitext into parsoid html
|
||||
$content = $this->parseWikitextFragment( $contextTitle, $content );
|
||||
$content = $this->parseWikitextFragment( $contextTitle, $content, true );
|
||||
}
|
||||
}
|
||||
return $content;
|
||||
|
|
Loading…
Reference in a new issue