I have a smarty template that contains a variable in which data is loaded as one text string but the values are separated by semicolons.
<span>{$TEST.data}</span>
This generates one line in with example: 1; example: 2; example: 3; and so on.
Is there a way I can code in a line break at every semicolon in smarty?
Thanks for any help
while you actually should prepare your data in PHP, you can do this within Smarty:
see the docs on the replace modifier