smarty icon indicating copy to clipboard operation
smarty copied to clipboard

Again problem with spaces when I use {strip}

Open yourchoice opened this issue 10 years ago • 3 comments

Again problem with spaces when I use {strip}. This happend with dev /40 version. (https://github.com/smarty-php/smarty/issues/180)

{strip}<i class="fa fa-map-marker"></i> <a href="#">Test</a>{/strip}

This not let the space between <i> and <a> tags.

yourchoice avatar Feb 16 '16 17:02 yourchoice

The fix is in the master branch

uwetews avatar Feb 20 '16 16:02 uwetews

I use html in the new line after {strip}, here was just an example.

{strip}
html code
{/strip}

yourchoice avatar Feb 21 '16 08:02 yourchoice

@uwetews your {strip}'s changes absolutely incompatible with older version of Smarty. It adds spaces between all tags and breaks all pages. Please, stop changing behavior of the function.

volkish avatar Mar 15 '16 08:03 volkish