[prestashop]: bad with html rendering

270 Views Asked by At

i'm using smart to display a bloc of html code .

my problem is that it not interpret my html code.

there is my code

<dl class="accordion">
    {foreach $faqs as $allfaq}
        <dt><a href="">{$allfaq.question_post}</a></dt>
        <dd>
            {$allfaq.content|escape:'htmlall':'UTF-8'}
        </dd>
    {/foreach}
</dl>

and this is the result:

enter image description here

1

There are 1 best solutions below

0
On

Add nofilter filter:

{$allfaq.content nofilter}