projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16307da
)
formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly
author
William Pitcock
<nenolod@dereferenced.org>
Sun, 9 Sep 2018 23:40:24 +0000
(23:40 +0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Fri, 5 Oct 2018 20:49:34 +0000
(20:49 +0000)
lib/pleroma/formatter.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/formatter.ex
b/lib/pleroma/formatter.ex
index c0a176184f0b32327b8d646c0c04ab0323123b4d..5b63fb795efbd2cfe4e956ed6f8cd614b99e236b 100644
(file)
--- a/
lib/pleroma/formatter.ex
+++ b/
lib/pleroma/formatter.ex
@@
-193,7
+193,7
@@
defmodule Pleroma.Formatter do
# TODO: make it use something other than @link_regex
def html_escape(text, "text/html") do
- H
tmlSanitizeEx.basic_html
(text)
+ H
TML.filter_tags
(text)
end
def html_escape(text, "text/plain") do