How to properly inject html content into template?

I'm trying to inject html code into a template node to then build a dynamic html. The content for the dynamic html is coming from a function that returns an object containing the required data.

For some reason the html tags are being converted wrong as seen in the image below:

How do I solve this issue?

You will need to share more context. Clearly, the input is being converted to safe text rather than being left as HMTL but we can't see what is doing that without you sharing the flow.

At a guess , as you mention template node, if you are using mustache template, then to stop the conversion of html chars to safte text use {{{ }}} as mentioned in the sidebar help text.

Note: By default, mustache will escape any non-alphanumeric or HTML entities in the values it substitutes. To prevent this, use {{{triple}}} braces.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.