summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-24 17:34:27 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-24 17:34:27 +0100
commitd98cbb8bddda2f56dc1dc585a7f3a01fa9ed33c9 (patch)
tree7a240fac0c99902cea220806ae061ecf3df00937
parentecc260e0be0cdb55c4e4802b78ddd78b0d8b0ebc (diff)
Add &newline; and &tab; to CI_Security::
-rw-r--r--system/core/Security.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/core/Security.php b/system/core/Security.php
index d6356f869..32ecbbad3 100644
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -69,7 +69,9 @@ class CI_Security {
public $html5_entities = array(
'&colon;' => ':',
'&lpar;' => '(',
- '&rpar;' => ')'
+ '&rpar;' => ')',
+ '&newline;', => "\n",
+ '&tab;', => "\t"
);
/**