Jump to content

Saving and displaying HTML entities in Symfony DB


Firemankurt

Recommended Posts

I am transferring DB entries for some short articles from an old DB to my new Symfony project.

 

The fields have

<p>,<br />, etc... 

in them.

 

When I try display the fields in twig template they are rendered as

 <p>,  <br />, etc... 

Is there a setting in Symfony that I can change for this?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.