aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-06-19 08:48:41 +0000
committerlain <lain@soykaf.club>2019-06-19 08:48:41 +0000
commit5c6c4ce634d6fe17f62b71871ecb28edc34a40dd (patch)
tree95c4048fb52dc8aff13999b740b709816946846b /lib
parent90e47d43578803cf74f760db7777cbaba50bb8d9 (diff)
parent035368d363e31bd99efb21e1c121574718c81b5e (diff)
downloadpleroma-5c6c4ce634d6fe17f62b71871ecb28edc34a40dd.tar.gz
Merge branch 'fix/rich-media-hashtags-again' into 'develop'
Rich Media: Skip Microformats hashtags See merge request pleroma/pleroma!1304
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/html.ex2
1 files changed, 1 insertions, 1 deletions
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)