Re: [SMARTY] {strip} smashes DOCTYPE

From: Date: Sat, 17 Sep 2005 12:28:11 +0000
Subject: Re: [SMARTY] {strip} smashes DOCTYPE
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13043@lists.php.net to get a copy of this message
Monte Ohrt wrote:
{strip} takes whitespace off the beginning/ends of lines. This is typically only useful where HTML tags are at the beginning/ends of the lines. It isn't meant to be an HTML beautifier. Maybe you should have a look at the trimwhitespace output filter that ships with Smarty, it might work better.
Oh, right... I somehow all the time anticipated that {strip} just joins the HTML tags together. Then it makes sense.

« previous php.smarty.general (#13043) next »