Fix AudioVideoValidator markdown
This commit is contained in:
parent
f1c67115d8
commit
642729b49f
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue