aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/Utils.php
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-01-31 18:57:29 +0100
committerArthur <arthur@hoa.ro>2016-01-31 18:57:29 +0100
commit893338f0d407a0989454d5e3c0e43c97f7eface5 (patch)
tree90fe71e194f49858ea34ed4cbf6e671a543ba595 /application/Utils.php
parent423e2a8b13dc0069c83f3e540f576aa1b89fe5d5 (diff)
parent1be4afacf98e0124258199ec416dc1c4b4948305 (diff)
downloadShaarli-893338f0d407a0989454d5e3c0e43c97f7eface5.tar.gz
Shaarli-893338f0d407a0989454d5e3c0e43c97f7eface5.tar.zst
Shaarli-893338f0d407a0989454d5e3c0e43c97f7eface5.zip
Merge pull request #379 from ArthurHoaro/plugin-markdown
PLUGIN Markdown
Diffstat (limited to 'application/Utils.php')
-rw-r--r--application/Utils.php8
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 */
67function nl2br_escaped($html)
68{
69 return str_replace('>', '&gt;', str_replace('<', '&lt;', nl2br($html)));
70}
71
72/**
73 * htmlspecialchars wrapper 65 * htmlspecialchars wrapper
74 */ 66 */
75function escape($str) 67function escape($str)