Remove unneeded Markdown converter (earmark)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-09-26 16:49:49 +02:00
parent b457cb4d58
commit d4a7b6fe0d
3 changed files with 11 additions and 29 deletions

View File

@@ -115,17 +115,6 @@ defmodule MobilizonWeb.API.Utils do
|> Formatter.linkify(options)
end
# @doc """
# Formatting text to markdown.
# """
# def format_input(text, "text/markdown", options) do
# text
# |> Formatter.mentions_escape(options)
# |> Earmark.as_html!()
# |> Formatter.linkify(options)
# |> Formatter.html_escape("text/html")
# end
def make_report_content_text(nil), do: {:ok, nil}
def make_report_content_text(comment) do