Update Floki dependency
This commit is contained in:
parent
0d24ab04c5
commit
cf52106e05
2 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue