diff options
Diffstat (limited to 'application')
-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 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 | */ | ||
49 | function nl2br_escaped($html) | ||
50 | { | ||
51 | return str_replace('>', '>', str_replace('<', '<', nl2br($html))); | ||
52 | } | ||
53 | |||
54 | /** | ||
55 | * htmlspecialchars wrapper | 47 | * htmlspecialchars wrapper |
56 | */ | 48 | */ |
57 | function escape($str) | 49 | function escape($str) |