diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-02-18 17:46:09 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-02-18 17:46:09 +0300 |
commit | 61d9f43e463a3b3b0c1e4b9c98c22e222797bd82 (patch) | |
tree | d0db351126377c4a648155df4dfdfd4358874b9c /lib/pleroma/html.ex | |
parent | 269d592181bff8601f6545b85158ee1c222ff20d (diff) | |
parent | 3fa2ac68df10f6ffe3c1ea76fa10c30da90f4bd0 (diff) | |
download | pleroma-61d9f43e463a3b3b0c1e4b9c98c22e222797bd82.tar.gz |
Merge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation
Diffstat (limited to 'lib/pleroma/html.ex')
-rw-r--r-- | lib/pleroma/html.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex index 11513106e..05946aa96 100644 --- a/lib/pleroma/html.ex +++ b/lib/pleroma/html.ex @@ -108,6 +108,7 @@ defmodule Pleroma.HTML do Cachex.fetch!(:scrubber_cache, key, fn _key -> result = content + |> Floki.parse_fragment!() |> Floki.filter_out("a.mention,a.hashtag,a[rel~=\"tag\"]") |> Floki.attribute("a", "href") |> Enum.at(0) |