Hello, on a page-node i try to display some HTML code, like this
Wrapped between
I have to escape all the
Unfortunately some part of this code is render executed as you can see:
How to prevent that?
Thanks.
HTML:
<xf:if is=\"$thread.cover_image\">
<xf:macro template=\"metadata_macros\" name=\"metadata\"
arg-description=\"{\$fpSnippet}\"
arg-shareUrl=\"{{ link('canonical:threads', $thread) }}\"
arg-canonicalUrl=\"{{ link('canonical:threads', $thread, {'page': $page}) }}\"
arg-imageUrl=\"{\$thread.cover_image}\" />
<xf:else/>
<xf:macro template=\"metadata_macros\" name=\"metadata\"
arg-description=\"{\$fpSnippet}\"
arg-shareUrl=\"{{ link('canonical:threads', $thread) }}\"
arg-canonicalUrl=\"{{ link('canonical:threads', $thread, {'page': $page}) }}\" />
</xf:if>
Wrapped between
{{ bb_code("[CODE=html]
and [/CODE]", '', '') }}
I have to escape all the
"
to avoid template errors.Unfortunately some part of this code is render executed as you can see:
How to prevent that?
Thanks.