toufik medhaffar
toufik medhaffar

Reputation: 27

[prestashop]: bad with html rendering

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

Upvotes: 0

Views: 298

Answers (1)

idnovate
idnovate

Reputation: 1032

Add nofilter filter:

{$allfaq.content nofilter}

Upvotes: 1

Related Questions