We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
All "\n" line breaks will be converted to html tags in the given variable. This is equivalent to the PHP's nl2br() function.
Template:
{$articleTitle = 'Sun or rain expected\ntoday, dark tonight'} {$articleTitle|nl2br}
output:
Sun or rain expected<br />today, dark tonight
see also nl2br in PHP Smarty documentation.