Update Earmark to 1.4.13, use the new compact_output mode

This commit is contained in:
Mark Felder 2020-12-11 13:43:40 -06:00
commit 6520599b7d
3 changed files with 4 additions and 4 deletions

View file

@ -122,7 +122,7 @@ defmodule Pleroma.Formatter do
end
def markdown_to_html(text) do
Earmark.as_html!(text)
Earmark.as_html!(text, %Earmark.Options{compact_output: true})
end
def html_escape({text, mentions, hashtags}, type) do