![]() |
Smarty "unescape" modifier - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Development (https://discussions.corebos.org/forum-18.html) +--- Forum: coreBOS Development (https://discussions.corebos.org/forum-4.html) +--- Thread: Smarty "unescape" modifier (/thread-502.html) |
Smarty "unescape" modifier - Guido1982 - 11-17-2016 I tried to use {$smarty_var|unescape:"html"} to display some stuff as nicely formatted HTML, but the parser just errored and halted. Do we have this modifier or am I looking at documentation that is too new? RE: Smarty "unescape" modifier - joebordes - 11-22-2016 We don't have that yet. I tried it with Smarty 3 and it works correctly. Try with html_entity_decode: http://www.smarty.net/forums/viewtopic.php?p=52799 NOTE: I am working with smarty3 in development branch, I haven't released it yet because there is a couple of issues with the reporting system. We are VERY close to releasing this. In fact there are only 4 external libraries pending upgrade to move to PHP7. I expect to have Smarty3 uploaded soon. RE: Smarty "unescape" modifier - Guido1982 - 11-28-2016 Ah, didn't even know that existed. Thanks! Will try |