Re: [PEPr] Comment on XML::XML_FastCreate
| From: | Guillaume Lecanu | Date: | Mon, 19 Apr 2004 12:29:17 +0000 |
| Subject: | Re: [PEPr] Comment on XML::XML_FastCreate | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-28009@lists.php.net to get a copy of this message | ||
Le lun 19/04/2004 à 13:17, Sérgio Carvalho a écrit :
> Alan Knowles wrote:
> > the closing /> can sometimes break html - I cant remember the example
> > of hand, but it does cause havoc sometimes..
>
> I know of two cases: 1. <script /> causes IE to consider everything from
> there on as script code. 2. <textarea /> causes both IE and Mozilla to
> consider everything from then on as the textarea initial value.
So, this is not a big problem because for theses 2 cases, a value is
give to the method :
$x->script('the script') => <script>the script</script>
and not :
$x->script() => </script>
But i will remove the slash of single tag in "html" mode ( <br /> to
<br>)
Thanks,
Regards,
>
> Sérgio Carvalho