QF Renderer_ArraySmarty bug found while rendering -> un-trim values

From: Date: Thu, 24 Feb 2005 13:18:41 +0000
Subject: QF Renderer_ArraySmarty bug found while rendering -> un-trim values
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17671@lists.php.net to get a copy of this message
Hi Used HTML_QuickForm_Action_Display and _renderForm() there assigned variables to smarty all my values got one preceding space there! I have to trim them afterwards in smarty template, this is totally annoying I think it has somthing to do with $renderer = new HTML_QuickForm_Renderer_ArraySmarty($this->_tpl); Yes, that is even worse, I find out now by using echo "<pre style=\"background: #ffffff;\">"; var_dump($renderer->toArray()); echo "</pre>"; This beast makes preceding/following spaces everywhere! some values have length 5 but because of preceding AND following spaces added there they have length 71! Did I miss something? Who the hell would need all these spaces? greets and thanks for releasing updates on that -- Patrick Fehr Swiss Federal Institute Of Technology

« previous php.pear.general (#17671) next »