I'm using a conditional in templating engine tinybutstrong to show a <div>
when a variable is not blank.
<div class="notice">[onshow;block=div;when [var.notice;noerr]!=''][var.notice;noerr]</div>
It works well except for when the $notice
variable has an apostrophe '
in it. Otherwise the onshow conditonal doesn't run.
How do I fix this?