Showing posts with label entity. Show all posts
Showing posts with label entity. Show all posts

Monday, April 18, 2011

Show HTML Tags Instead of Entities in Flash Messages in Symfony

Use this instead:
$sf_user->getFlash('msg', ESC_RAW);

Tuesday, November 9, 2010

Get Raw Data in the Template in Symfony

echo $page->getRawValue()->getContent();
The $page variable is the model object and the getContent method gets the content column/text which contains HTML tags... To avoid html entities, you have to use the getRawValue method.

Saturday, July 31, 2010

Disable HTML entities in CKEditor

Find ckeditor/ckeditor.config.js or ckeditor/config.js and add: config.entities = false;