Re: bug: xml prologue inside {strip} block
"Miguel Simões" <[email protected]> Mon, 5 Feb 2007 14:51:50 +0000
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
As read in the Smarty Docs:
Anything within {strip}{/strip} tags are stripped of the extra spaces or
carriage returns at the beginnings and ends of the lines before they are
displayed.
So, this is to be used when needing a portion of text/html (not php or XML
code) trimed and without carriage return. The existence of <?xml will break
the function itself since it was not created to handle, as stated, any kind
of code besides text and HTML.
This function is not broken, the usage you are giving is just not the
intended.
Best regards,
Miguel Simões