Re: Quickform textarea formatting
| From: | Bertrand Mansion | Date: | Thu, 13 Feb 2003 11:55:29 +0000 |
| Subject: | Re: Quickform textarea formatting | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3734@lists.php.net to get a copy of this message | ||
<dan@acucore.com> wrote :
> I am using the latest version of Quickform and am not too thrilled about the
> [pre] tags in the frozenHTML output of the textarea element.
>
> Is there anyway to remove those tags programmatically? I'd like to avoid
> editing the classes to maintain upgradability.
<PRE> tags are here to keep consistancy in layout between what the user
submitted and the way it is displayed in frozen mode.
The other solution might be to use nl2br() on the submitted data and display
the text without the <PRE> tags. Would that be ok for you ?
Bertrand Mansion
Mamasam