projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
User, Migration: Change `accepts_chat_messages` to be nullable
[akkoma]
/
lib
/
pleroma
/
html.ex
diff --git
a/lib/pleroma/html.ex
b/lib/pleroma/html.ex
index d78c5f2025ced17c45649393954cc164841dd8d2..dc1b9b840c006694b365cfea71eb288461fc5cac 100644
(file)
--- a/
lib/pleroma/html.ex
+++ b/
lib/pleroma/html.ex
@@
-109,7
+109,7
@@
defmodule Pleroma.HTML do
result =
content
|> Floki.parse_fragment!()
result =
content
|> Floki.parse_fragment!()
- |> Floki.filter_out("a.mention,a.hashtag,a[rel~=\"tag\"]")
+ |> Floki.filter_out("a.mention,a.hashtag,a
.attachment,a
[rel~=\"tag\"]")
|> Floki.attribute("a", "href")
|> Enum.at(0)
|> Floki.attribute("a", "href")
|> Enum.at(0)