mirror of
https://github.com/friendica/friendica
synced 2024-11-18 17:43:41 +00:00
Enable Smarty default HTML escaping
This commit is contained in:
parent
38109665c7
commit
6d90d35d25
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue