X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fhtml.ex;h=2fae7281c46c30134ec89edf4adc10267539cd9f;hb=55341ac71740d3d8aded9c6520e06b9c509a6670;hp=8c226c9446b1f369e03c47bc5fe86a322b264d3c;hpb=135c19676994defd6de729a497af5fb1f9c7b0ad;p=akkoma diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex index 8c226c944..2fae7281c 100644 --- a/lib/pleroma/html.ex +++ b/lib/pleroma/html.ex @@ -89,7 +89,7 @@ defmodule Pleroma.HTML do Cachex.fetch!(:scrubber_cache, key, fn _key -> result = content - |> Floki.filter_out("a.mention,a.hashtag") + |> Floki.filter_out("a.mention,a.hashtag,a[rel~=\"tag\"]") |> Floki.attribute("a", "href") |> Enum.at(0)