aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/html.ex
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-12-05 12:18:59 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-12-05 12:18:59 +0300
commite21afdb7c76c9773aeb51e37ff3bc2874e7a74f7 (patch)
treefd8ca0c111cff6ef663b4272d64d64333a451032 /lib/pleroma/html.ex
parent88f7cf51d43181b27db5ff1807d3e706fa336bac (diff)
parent228bf4d214abe3bb62c52128d3bc145e396b174d (diff)
downloadpleroma-e21afdb7c76c9773aeb51e37ff3bc2874e7a74f7.tar.gz
Merge branch 'develop' into issue/1411
Diffstat (limited to 'lib/pleroma/html.ex')
-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)