QuickForm setDefault() strips curly braces and text between "{some text}"
| From: | Hinnerk Voss | Date: | Wed, 27 Dec 2006 20:13:14 +0000 |
| Subject: | QuickForm setDefault() strips curly braces and text between "{some text}" | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26211@lists.php.net to get a copy of this message | ||
Hi,
I set a textarea with
$form->setDefaults($result);
$form->addElement('textarea', 'de', 'Deutsch:', array("rows"=>"10"));
$output .= $form->toHtml();
$results contains text for textarea (I've checked $results with print_r, all {} there):
"sometext with {curly braces} and more"
but it outputs
"sometext with and more"
to the browser.
How can I protect {} for output?
Kind regards,
Hinnerk