Re: Re: render html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2008-09-21 at 08:17 +0200, Lupus Michaelis wrote:
> Michelle Konzack a écrit :
> >> $body = "hello<br/><ul>ier</ul>hellohello";
> >                 ^^^^^
> >         Should be <br />
> 
>    Definitely no :
> 
> <http://www.w3.org/TR/2006/REC-xml-20060816/#dt-empty>
> <http://www.w3.org/TR/2006/REC-xml-20060816/#NT-S>
> 
>    Or maybe for buggy browsers ?
> 
> -- 
> Mickaël Wolff aka Lupus Michaelis
> http://lupusmic.org
> 
The space is completely optional, but I don't think it has anything to
do with the form that the tag is using. By default, browser will just
hide any tags they don't understand. I think that what is happening is
that the < and > have been escaped out. Try viewing the source to the
output page. If you see &lt;br/&gt; then your CMS is escaping the
chevrons and interpreting them as literal text rather than code.


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux