show html tags in template - symfony and CKEDITOR. how safety?
问题 i use Symfony 1.4 and Doctrine 1.2. I installed plugin http://www.symfony-project.org/plugins/sfCkPlugin if i add net data from form this working ok, but in template this show me for example: <p><b>bold</b> <i>test</i></p> etc instead of bold test I must something add here: getDesc() ?> , but what? In database MySQL i have: <p> <strong>bold</strong> <u>test</u></p> this is safety? 回答1: This is happening because of the output escaper in symfony. You can fix it by calling getRawValue() on the