Useless for sf1.3/1.4 projects
By default, the output escaping is disabled. In the /apps/frontend/config/settings.yml
file, add:
all:
.settings:
# Output escaping settings
escaping_strategy: true
escaping_method: ESC_SPECIALCHARS
Read the related symfony documentation