https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3810966
)
Enable Smarty default HTML escaping
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Fri, 14 Dec 2018 03:35:12 +0000
(22:35 -0500)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Mon, 17 Dec 2018 03:38:30 +0000
(22:38 -0500)
src/Render/FriendicaSmarty.php
patch
|
blob
|
history
diff --git
a/src/Render/FriendicaSmarty.php
b/src/Render/FriendicaSmarty.php
index
8ecea05
..
413d746
100644
(file)
--- a/
src/Render/FriendicaSmarty.php
+++ b/
src/Render/FriendicaSmarty.php
@@
-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;
}