Open OnkelTem opened 9 years ago
This simple template:
div if tabs div != myvar
generates:
<div><?php if ($tabs) : ?><div></div><?php endif ?>(<?= $myvar ?>)</div>
— note the parenthesis around <?= $myvar ?>.
<?= $myvar ?>
Changing it to either
div if tabs div div!= myvar
or
div if tabs div | != myvar
(whitespace goes after |) — removes the parenthesis.
Pull requests are welcome :)
This simple template:
generates:
— note the parenthesis around
<?= $myvar ?>
.Changing it to either
or
(whitespace goes after |) — removes the parenthesis.