aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-12-02 13:38:35 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-12-02 13:38:35 +0700
commitcf52106e059560afb50de5ae8044d0a51278fae1 (patch)
tree16ac739c84bc5e01dbbd3085fc47d18551f51c21 /lib
parent0d24ab04c5ea779432b4ea174a1d470dac87315d (diff)
downloadpleroma-cf52106e059560afb50de5ae8044d0a51278fae1.tar.gz
Update Floki dependency
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/html.ex1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex
index 4acd46253..997e965f0 100644
--- a/lib/pleroma/html.ex
+++ b/lib/pleroma/html.ex
@@ -91,7 +91,6 @@ defmodule Pleroma.HTML do
Cachex.fetch!(:scrubber_cache, key, fn _key ->
result =
content
- |> HtmlEntities.decode()
|> Floki.filter_out("a.mention,a.hashtag,a[rel~=\"tag\"]")
|> Floki.attribute("a", "href")
|> Enum.at(0)