Commit 99c6bcdd authored by Robert Lyon's avatar Robert Lyon
Browse files

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

We just want retracted blocks to display as non-retracted


Change-Id: I30a10f99784fc33c459a551f8c9b93ef890c5844
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 9eb1306e
......@@ -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']);
Supports Markdown
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