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 @@ defp fix_content(%{"mediaType" => "text/markdown", "content" => content} = data)
content =
content
|> Pleroma.Formatter.markdown_to_html()
|> Pleroma.Formatter.minify("text/html")
|> Pleroma.HTML.filter_tags()
Map.put(data, "content", content)