Re: [PHP] render html

2008-09-08 Thread Craige Leeder

Can we see your parsing code, please?

BTW, are you parsing for br and br /, because you have given both as 
an example here.


- Craige

VamVan wrote:

hello,

i have html tags in the bod of text like:

$body = hellobr/ulier/ulhellohello;

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

  



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



[PHP] render html

2008-08-26 Thread VamVan
hello,

i have html tags in the bod of text like:

$body = hellobr/ulier/ulhellohello;

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


Re: [PHP] render html

2008-08-26 Thread Björn Bartels

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 lt; and gt;

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 = hellobr/ulier/ulhellohello;

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 :  [EMAIL PROTECTED] ]
[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.


[--- ]










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