diff options
Diffstat (limited to 'application/Utils.php')
-rw-r--r-- | application/Utils.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/application/Utils.php b/application/Utils.php index 551db3e7..10d60698 100644 --- a/application/Utils.php +++ b/application/Utils.php | |||
@@ -62,14 +62,6 @@ function endsWith($haystack, $needle, $case=true) | |||
62 | } | 62 | } |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * Same as nl2br(), but escapes < and > | ||
66 | */ | ||
67 | function nl2br_escaped($html) | ||
68 | { | ||
69 | return str_replace('>', '>', str_replace('<', '<', nl2br($html))); | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * htmlspecialchars wrapper | 65 | * htmlspecialchars wrapper |
74 | */ | 66 | */ |
75 | function escape($str) | 67 | function escape($str) |