Jump to content

Featured Replies

Posted

I make application and have to use html tags <p></p> in variables.

$text = "<p>some text</p><p>second paragraph text</p>";

But IPS auto convert it to symbols: &lt;p&gt;

I try to fix it in template:

{{$text = htmlspecialchars_decode($text, ENT_NOQUOTES);}}

But htmlspecialchars_decode dont change variable.

Is it possible to send formatted text as clear html to template?

Edited by Bazilisk

Solved by Daniel F

Go to solution

Recently Browsing 0

  • No registered users viewing this page.