This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly
tags/v0.9.9
William Pitcock
5 years ago
parent
16307da311
commit
52b05137c5
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/pleroma/formatter.ex
+ 1
- 1
lib/pleroma/formatter.ex
View File
@@ -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
Write
Preview
Loading…
Cancel
Save