Merge branch 'length-limit-bio' into 'develop'
[akkoma] / lib / pleroma / html.ex
index e5e78ee4f50124a1d1c2d0568b5d7c14f6c0fa67..2fae7281c46c30134ec89edf4adc10267539cd9f 100644 (file)
@@ -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)