Update Earmark to 1.4.13, use the new compact_output mode
This commit is contained in:
parent
642729b49f
commit
6520599b7d
3 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue