diff options
author | lain <lain@soykaf.club> | 2019-06-19 08:48:41 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-06-19 08:48:41 +0000 |
commit | 5c6c4ce634d6fe17f62b71871ecb28edc34a40dd (patch) | |
tree | 95c4048fb52dc8aff13999b740b709816946846b /lib/pleroma | |
parent | 90e47d43578803cf74f760db7777cbaba50bb8d9 (diff) | |
parent | 035368d363e31bd99efb21e1c121574718c81b5e (diff) | |
download | pleroma-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/pleroma')
-rw-r--r-- | lib/pleroma/html.ex | 2 |
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) |