diff options
author | rinpatch <rinpatch@sdf.org> | 2020-02-11 21:44:33 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-02-11 21:44:33 +0300 |
commit | cfaaea7a492e03258fbeeb1c16f591d1f9025e2b (patch) | |
tree | 53e061abc3dfcc6bfa0f3024b443ac372eb7781c /lib/pleroma/html.ex | |
parent | 01984d15cee6682afdb4c393ee0e6d0059bdb87c (diff) | |
download | pleroma-cfaaea7a492e03258fbeeb1c16f591d1f9025e2b.tar.gz |
Revert "Merge branch 'revert-3fee859b' into 'develop'"
This reverts commit 01984d15cee6682afdb4c393ee0e6d0059bdb87c, reversing
changes made to 3fee859b60d2b97e8210faf872a03d99cfc574cc.
Diffstat (limited to 'lib/pleroma/html.ex')
-rw-r--r-- | lib/pleroma/html.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex index 11513106e..05946aa96 100644 --- a/lib/pleroma/html.ex +++ b/lib/pleroma/html.ex @@ -108,6 +108,7 @@ defmodule Pleroma.HTML do Cachex.fetch!(:scrubber_cache, key, fn _key -> result = content + |> Floki.parse_fragment!() |> Floki.filter_out("a.mention,a.hashtag,a[rel~=\"tag\"]") |> Floki.attribute("a", "href") |> Enum.at(0) |