Commit e0993914 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Gerrit Code Review
Browse files

Merge "Bug 1820912: Do not show retraction on blocks exported to HTML"

parents 5f61a8ad 99c6bcdd
......@@ -1238,7 +1238,7 @@ class BlockInstance {
}
$smarty->assign('content', $content);
if (isset($configdata['retractable']) && $title) {
if (isset($configdata['retractable']) && $title && !$exporting) {
$smarty->assign('retractable', $configdata['retractable']);
if (isset($configdata['retractedonload'])) {
$smarty->assign('retractedonload', $configdata['retractedonload']);
......
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