mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 15:05:45 +00:00
[Pleroma.Web.MastodonAPI.StatusView] Fix rendering peertube videos
This commit is contained in:
parent
f6b06d2ac8
commit
5dde6e4a00
|
@ -216,7 +216,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||
|
||||
content =
|
||||
if !!name and name != "" do
|
||||
"<p><a href=\"#{object["url"]}\">#{name}</a></p>#{object["content"]}"
|
||||
"<p><a href=\"#{object["id"]}\">#{name}</a></p>#{object["content"]}"
|
||||
else
|
||||
object["content"]
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue