aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-12-11 13:43:40 -0600
committerMark Felder <feld@FreeBSD.org>2020-12-11 17:23:03 -0600
commit6520599b7deac56780e1496c969cc45ff2e9f5da (patch)
treead504a268f4c161b22387e0a6e53fa1abe4f05ca /lib
parent642729b49fca41fb142c6121fedf35c96c03b018 (diff)
downloadpleroma-6520599b7deac56780e1496c969cc45ff2e9f5da.tar.gz
Update Earmark to 1.4.13, use the new compact_output mode
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/formatter.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/formatter.ex b/lib/pleroma/formatter.ex
index 1be12055f..2aa236ca9 100644
--- a/lib/pleroma/formatter.ex
+++ b/lib/pleroma/formatter.ex
@@ -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