]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/Utils.php
Merge pull request #379 from ArthurHoaro/plugin-markdown
[github/shaarli/Shaarli.git] / application / Utils.php
index 551db3e7cf4b74b1a347d7a84002d1472384fa6b..10d606987c826990e94fad0489f36aad66f6a969 100644 (file)
@@ -61,14 +61,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
  */