Quantcast
Channel: Is it possible to display HTML content in a smarty variable, that is escaped using escape:HTML? - Stack Overflow
Browsing index pages (2 articles)
↧

Is it possible to display HTML content in a smarty variable, that is escaped...

I have a smarty variable in *.tpl that cannot be changed:{$some_value|escape:'html':'UTF-8'}I have to assign a new value for this variable in PHP. This new value contains some basic HTML:$some_value =...

View Article


Answer by Quentin for Is it possible to display HTML content in a smarty...

No. The entire point of escaping for HTML in the template is to make that impossible.

View Article

Browsing index pages (2 articles)


Latest Images