Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
8e4e4aeb
Commit
8e4e4aeb
authored
Apr 28, 2009
by
Nigel McNie
Browse files
Make LEAP export not use render_base because we removed it.
parent
8bb9b043
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/export/leap/lib.php
View file @
8e4e4aeb
...
...
@@ -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_
ba
se
(
array
());
$rendered
=
$this
->
artefact
->
render_se
lf
(
array
());
$rendered
=
$rendered
[
'html'
];
return
$this
->
replace_content_placeholders
(
clean_html
(
$rendered
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment