newline after object call.

From: Date: Thu, 05 May 2005 13:04:11 +0000
Subject: newline after object call.
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2719@lists.php.net to get a copy of this message
Hi. Is there any reason why there is a newline after object calls? I have something similar in my code: {admin->checkright right="templates"} <?xml version="1.0" encoding="ISO-8859-1"?> the problem is that when the code is parsed a newline is inserted after the object call which results in a xhtml error. I can work around the problem by using assign. But that makes no sense since my admin::checkright function does not return anything. Looks like this behavior is hardcoded in the compilers _compile_registered_object_tag function. But i cant see any reason for this. -- ________________________________ MfG Arpad Borsos aka "Swatinem" IRC: irc://de.quakenet.org/swatinemz ________________________________ Reclaim Your Inbox! - Mozilla Thunderbird http://www.mozilla.org/products/thunderbird/ Take Back the Web! - Mozilla Firefox http://www.mozilla.org/products/firefox/ ________________________________

« previous php.smarty.dev (#2719) next »