Re: [Phphtmllib-devel] Textarea rendering behaviour.
Status: Beta
                
                Brought to you by:
                
                    hemna
                    
                
            | 
      
      
      From: Mark L. <no...@nu...> - 2003-08-15 09:06:43
      
     | 
| > Look at the tag_classes/ALLTAGS.inc on line 1449.
> class TEXTAREAtag extends HTMLTagClass {
>     var $_tag = "textarea";
>     function _set_flags() {
>         parent::_set_flags();
>         $this->_flags &= ~(_INDENT | _NEWLINEAFTEROPENTAG);
>     }
> } // TEXTAREAtag
Having seen this I thought I should take a second look at what was
happening in my code. It turns out that in this case the text for the form
element was *not* being generated by phphtmllib. Since it was "->add"ed to
a TAG element as normal text there was no way that it would not
be indented...
So I don't think that this is a bug in the library.
Thanks for your help.
Mark.
-- 
Mark Lawrence
 |