Myke623
Well-known member
I have some template code as follows:
which mainly contains text and some smiley code, hence the need for the xen:raw tag.
However, within this content I'd like to replace all occurrences of the greater-than symbol (>) with the unicode geometric shape ► (►).
I've tried to nest my own helper in there:
but that produces a template error on save (Invalid variable reference).
One work-around would be to create a new smiley image to replicate the right-pointing pointer shape, but I feel there's a much simpler solution.
Anyone know of a way to achieve this?
Code:
{xen:raw $myContent}
which mainly contains text and some smiley code, hence the need for the xen:raw tag.
However, within this content I'd like to replace all occurrences of the greater-than symbol (>) with the unicode geometric shape ► (►).
I've tried to nest my own helper in there:
Code:
{xen:raw {xen:helper myhelper, $myContent} }
but that produces a template error on save (Invalid variable reference).
One work-around would be to create a new smiley image to replicate the right-pointing pointer shape, but I feel there's a much simpler solution.
Anyone know of a way to achieve this?