aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/Utils.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/application/Utils.php b/application/Utils.php
index f84f70e4..ac8bfbfc 100644
--- a/application/Utils.php
+++ b/application/Utils.php
@@ -44,14 +44,6 @@ function endsWith($haystack, $needle, $case=true)
44} 44}
45 45
46/** 46/**
47 * Same as nl2br(), but escapes < and >
48 */
49function nl2br_escaped($html)
50{
51 return str_replace('>', '&gt;', str_replace('<', '&lt;', nl2br($html)));
52}
53
54/**
55 * htmlspecialchars wrapper 47 * htmlspecialchars wrapper
56 */ 48 */
57function escape($str) 49function escape($str)