diff options
author | Arthur <arthur@hoa.ro> | 2016-01-31 18:57:29 +0100 |
---|---|---|
committer | Arthur <arthur@hoa.ro> | 2016-01-31 18:57:29 +0100 |
commit | 893338f0d407a0989454d5e3c0e43c97f7eface5 (patch) | |
tree | 90fe71e194f49858ea34ed4cbf6e671a543ba595 /application | |
parent | 423e2a8b13dc0069c83f3e540f576aa1b89fe5d5 (diff) | |
parent | 1be4afacf98e0124258199ec416dc1c4b4948305 (diff) | |
download | Shaarli-893338f0d407a0989454d5e3c0e43c97f7eface5.tar.gz Shaarli-893338f0d407a0989454d5e3c0e43c97f7eface5.tar.zst Shaarli-893338f0d407a0989454d5e3c0e43c97f7eface5.zip |
Merge pull request #379 from ArthurHoaro/plugin-markdown
PLUGIN Markdown
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 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) |