Commit 160208e2 authored by Robert Lyon's avatar Robert Lyon Committed by Cecilia Vela Gurovic
Browse files

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



We just want retracted blocks to display as non-retracted

behatnotneeded

Change-Id: I30a10f99784fc33c459a551f8c9b93ef890c5844
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 99c6bcdd)
parent 1b5ad3bd
......@@ -1224,7 +1224,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