On Thu, Apr 23, 2009 at 11:06 AM, Philip Iezzi <[email protected]> wrote: > (...) > See the difference? > Both are ugly in some way if I want to stick with this template style full > of opening and closing tags. But at least, in a Smarty-template we can > provide "real" newlines while they would get cut off by PHP's closing tag in > a regular PHP/Zend_View-template. Using PHP_EOL is just an ugly workaround.
Yeah, I gotcha. >> I don't understand exactly where they look messy. Details. ;-) Point >> taken, HTML/PHP mixed doesn't look pretty -- then again, when people >> use my website, they view it through a browser which renders it all >> pretty and they don't have to look at the source code. > > Right. But that's not the point. We are talking about what could make our > lives easier, the developers lives. The end user anyway gets a nice and > clean output served by us. > It would be really nice if PHP folks could provide us with an ini-setting to > turn off this (in my eyes) nasty behavior. I think I just understood what you're on about. I know it can be painful, but you could join #php.pecl on efnet and talk to the developers to see if they have a fix, or if they would be willing to implement one. I'd do that before opening on a feature request on bugs.php.net. HTH, Till
