diff --git a/lib/ex_doc/markdown/earmark.ex b/lib/ex_doc/markdown/earmark.ex index 4ce0e6045..dd3a7abb0 100644 --- a/lib/ex_doc/markdown/earmark.ex +++ b/lib/ex_doc/markdown/earmark.ex @@ -31,6 +31,6 @@ defmodule ExDoc.Markdown.Earmark do file: Keyword.get(opts, :file), breaks: Keyword.get(opts, :breaks, false), smartypants: Keyword.get(opts, :smartypants, true)) - Earmark.to_html(text, options) + Earmark.as_html!(text, options) end end diff --git a/mix.exs b/mix.exs index e9d04cf73..d4c788227 100644 --- a/mix.exs +++ b/mix.exs @@ -21,7 +21,7 @@ defmodule ExDoc.Mixfile do end defp deps do - [{:earmark, "~> 1.0"}, + [{:earmark, "~> 1.1"}, {:markdown, github: "devinus/markdown", only: :test}, {:cmark, "~> 0.5", only: :test}, {:excoveralls, "~> 0.3", only: :test}]