Re: white-space in IT/ITX

From: Date: Fri, 17 May 2002 08:22:52 +0000
Subject: Re: white-space in IT/ITX
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6184@lists.php.net to get a copy of this message
Dan Allen wrote:
Would it be possible to add to the parser the ability to strip the line on which the block statements occured...so that if I had first <!-- BEGIN foo --> <td> <!-- END foo --> last The output would be first <td> last
If this gets implemented, i suppose to make it a configurable feature ( $tpl->setChopBlock(true) ) which defaults to false. IMHO a block starts exactly after the BEGIN tag. And there may be implementations which rely on this behaviour. Michael

« previous php.pear.dev (#6184) next »