Enable Smarty default HTML escaping

This commit is contained in:
Hypolite Petovan 2018-12-13 22:35:12 -05:00
parent 38109665c7
commit 6d90d35d25

View file

@ -42,6 +42,8 @@ class FriendicaSmarty extends Smarty
$this->left_delimiter = Renderer::getTemplateLeftDelimiter('smarty3');
$this->right_delimiter = Renderer::getTemplateRightDelimiter('smarty3');
$this->escape_html = true;
// Don't report errors so verbosely
$this->error_reporting = E_ALL & ~E_NOTICE;
}