Re: render html
| From: | Björn Bartels | Date: | Tue, 26 Aug 2008 08:02:46 +0000 |
| Subject: | Re: render html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278710@lists.php.net to get a copy of this message | ||
Hi,
are you propably using a wysiwyg-editor to edit this html?
my guess is ,your cms doesn't recognize <br /> as a valid tag and transforms
< and > to < and >
you should check your cms (or in case your wysiwyg-editor) docs for xhtml compatiblity ;)
cheers,
bb
Am 26.08.2008 um 08:24 schrieb VamVan:
hello, i have html tags in the bod of text like: $body = "hello<br/><ul>ier</ul>hellohello"; print $body; Some how it does not render html properly in a html page , what might be going wrong? <br> still get displayed as <br> instead of line breaks. How can I render my HTML properly. Please note that it happens in my cms. Thanks
[Björn Bartels ][email : bartels@dragon-projects.de ] [home : http://dragon-projects.de ]
[skype : bb-drummer ][----------------------------------- ] Diese E-Mail könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. [----------------------------------- ]