Commit 8e4e4aeb authored by Nigel McNie's avatar Nigel McNie
Browse files

Make LEAP export not use render_base because we removed it.

parent 8bb9b043
......@@ -490,7 +490,7 @@ class LeapExportElement {
public function get_content() {
//TODO replace this with non-js content
// can use $this->artefact->get('description'); in most cases to avoid this (for testing) (and the appropriate |escape in the entry template content tag)
$rendered = $this->artefact->render_base(array());
$rendered = $this->artefact->render_self(array());
$rendered = $rendered['html'];
return $this->replace_content_placeholders(clean_html($rendered));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment