Quantcast
Channel: Is it possible to display HTML content in a smarty variable, that is escaped using escape:HTML? - Stack Overflow
Browsing all 2 articles
Browse latest View live

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


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
Browsing all 2 articles
Browse latest View live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>