Update Floki dependency

This commit is contained in:
Egor Kislitsyn 2019-12-02 13:38:35 +07:00
commit cf52106e05
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
2 changed files with 1 additions and 2 deletions

View file

@ -91,7 +91,6 @@ defmodule Pleroma.HTML do
Cachex.fetch!(:scrubber_cache, key, fn _key ->
result =
content
|> HtmlEntities.decode()
|> Floki.filter_out("a.mention,a.hashtag,a[rel~=\"tag\"]")
|> Floki.attribute("a", "href")
|> Enum.at(0)