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:
David Lynch 2018-02-09 14:40:15 -06:00 committed by Legoktm
parent 7bd26fb361
commit 468c913cb9

View file

@ -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;