Fix AudioVideoValidator markdown

This commit is contained in:
Alex Gleason 2020-10-13 19:16:57 -05:00 committed by Mark Felder
parent f1c67115d8
commit 642729b49f

View File

@ -96,6 +96,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.AudioVideoValidator do
content =
content
|> Pleroma.Formatter.markdown_to_html()
|> Pleroma.Formatter.minify("text/html")
|> Pleroma.HTML.filter_tags()
Map.put(data, "content", content)