This is simply a "safety" feature of symfony, that converts characters such as 
< into &lt; and > into &gt; , etc. In your echo statement just wrap an 
html_entity_decode around the variable

<?php echo html_entity_decode($string); ?>

http://php.net/manual/en/function.html-entity-decode.php

On Tuesday 18 May 2010 10:40:20 Maras wrote:
> hay,
> In m form I used TinyMCE to format text and later when i want to
> present it using echo $var i get <p><br>...raw html tags. How can I
> switch it off??/

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to