Re: [SMARTY] {strip} smashes DOCTYPE
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
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.
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php