Ubiquity Lab
Member
In my template I need to print a string with some html tags in it.
Let's say I have:
$my_string = "This is my string with a <a href="https://xenforo.com">link</a>"
If I use the simple {$my_string} the html tags won't be parsed and will be displayed as string.
I didn't find any documentation about how to parse this kind of string. Any suggestions?
Let's say I have:
$my_string = "This is my string with a <a href="https://xenforo.com">link</a>"
If I use the simple {$my_string} the html tags won't be parsed and will be displayed as string.
I didn't find any documentation about how to parse this kind of string. Any suggestions?