X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fhtml.ex;h=2fae7281c46c30134ec89edf4adc10267539cd9f;hb=48174dc290d571ad72c17758c2f6275871e609a4;hp=e5e78ee4f50124a1d1c2d0568b5d7c14f6c0fa67;hpb=f1890d2cacfa09dd22b06a8d041c04dbeba9e138;p=akkoma diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex index e5e78ee4f..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") + |> Floki.filter_out("a.mention,a.hashtag,a[rel~=\"tag\"]") |> Floki.attribute("a", "href") |> Enum.at(0)