Category: twig

Twig: htmlspecialchars_decode

I have the following problem: I have the string &lt;div class=&quot;ql-editor&quot; data-gramm=&quot;false&quot; contenteditable=&quot;true&quot;&gt;&lt;p&gt;LOREM IPSUM&lt;/p&gt;&lt;/div&gt;, which is used in an array in twig (w.index_secondary_text). Now I want to rewerse the htmlspecialchar. If I use w.index_secondary_text | raw, it shows: <div class=”ql-editor”…