diff options
author | tusooa <tusooa@kazv.moe> | 2023-07-29 12:55:43 -0400 |
---|---|---|
committer | tusooa <tusooa@kazv.moe> | 2023-10-16 21:35:25 -0400 |
commit | b748efe66a099b66300f2beda42f5639911bab4a (patch) | |
tree | f0bc0b4a83f4c129bd2ecaf0e800cee4466d969a /lib | |
parent | 340c8812963a71f5f04b12a4c540bad3871f87fd (diff) | |
download | pleroma-b748efe66a099b66300f2beda42f5639911bab4a.tar.gz pleroma-b748efe66a099b66300f2beda42f5639911bab4a.zip |
Fix mentioning punycode domains when using Markdown
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/formatter.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/formatter.ex b/lib/pleroma/formatter.ex index a46c3e381..11d5af2fb 100644 --- a/lib/pleroma/formatter.ex +++ b/lib/pleroma/formatter.ex @@ -124,7 +124,7 @@ defmodule Pleroma.Formatter do end def markdown_to_html(text) do - Earmark.as_html!(text, %Earmark.Options{compact_output: true}) + Earmark.as_html!(text, %Earmark.Options{compact_output: true, smartypants: false}) end def html_escape({text, mentions, hashtags}, type) do |