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
1 changed files with 1 additions and 0 deletions

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)