Fix mentioning punycode domains when using Markdown
This commit is contained in:
parent
340c881296
commit
b748efe66a
3 changed files with 14 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue