MDL-67547 dataformat: allow plugins to declare support for HTML.

This commit is contained in:
Paul Holden 2019-12-18 21:38:40 +00:00
parent a09eb2697f
commit 118a109499
6 changed files with 62 additions and 10 deletions

View file

@ -80,7 +80,7 @@ class writer extends \core\dataformat\base {
echo ",";
}
echo json_encode($record, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
echo json_encode($this->format_record($record), JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
$this->sheetdatadded = true;
}