X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fhtml.ex;h=05946aa966a829deea50a8b33d54310f287c484e;hb=ab0aa04e4cdc6f0f51a5a20d3f472d426a35149d;hp=11513106eb643769c72701865459cd9eb70a22dc;hpb=237b2068f9bb23c590420fda3ac677badd9d839f;p=akkoma 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)