]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/Utils.php
PLUGIN Markdown
[github/shaarli/Shaarli.git] / application / Utils.php
index f84f70e44a7f8662f136bd19909b35f338796cbd..ac8bfbfc07dab77e40261c5b146479ec474ac44d 100644 (file)
@@ -43,14 +43,6 @@ function endsWith($haystack, $needle, $case=true)
     return (strcasecmp(substr($haystack, strlen($haystack) - strlen($needle)), $needle) === 0);
 }
 
-/**
- * Same as nl2br(), but escapes < and >
- */
-function nl2br_escaped($html)
-{
-    return str_replace('>', '&gt;', str_replace('<', '&lt;', nl2br($html)));
-}
-
 /**
  * htmlspecialchars wrapper
  */