|
|
|
@ -299,6 +299,7 @@ const visitors = {
|
|
|
|
|
context.write('}');
|
|
|
|
|
|
|
|
|
|
context.visit(node.consequent);
|
|
|
|
|
}
|
|
|
|
|
if (node.alternate !== null) {
|
|
|
|
|
if (
|
|
|
|
|
!(
|
|
|
|
@ -311,6 +312,7 @@ const visitors = {
|
|
|
|
|
}
|
|
|
|
|
context.visit(node.alternate);
|
|
|
|
|
}
|
|
|
|
|
if (!node.elseif) {
|
|
|
|
|
context.write('{/if}');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|