diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-02-11 10:33:41 -0600 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-02-11 10:33:41 -0600 |
commit | f9eb35d48e9f129df240c2c2134b4664121cecfe (patch) | |
tree | 2aca1a10c2df0852bd56e6eecf8446265eaac57d /lib/pleroma/html.ex | |
parent | de0fea463486537766403baa6663a618c93aa941 (diff) | |
parent | 3fee859b60d2b97e8210faf872a03d99cfc574cc (diff) | |
download | pleroma-f9eb35d48e9f129df240c2c2134b4664121cecfe.tar.gz |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into update/admin-fe-20200211
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) |