diff --git a/mix.exs b/mix.exs
index 98498a4cd..95a9fb168 100644
--- a/mix.exs
+++ b/mix.exs
@@ -31,7 +31,7 @@ defmodule ExDoc.Mixfile do
defp deps do
[
- {:earmark_parser, "~> 1.4.19"},
+ {:earmark_parser, "~> 1.4.31"},
{:makeup_elixir, "~> 0.14"},
{:makeup_erlang, "~> 0.1"},
{:makeup_html, ">= 0.0.0", only: :dev},
diff --git a/test/ex_doc/doc_ast_test.exs b/test/ex_doc/doc_ast_test.exs
index de7e764a1..67064d9c4 100644
--- a/test/ex_doc/doc_ast_test.exs
+++ b/test/ex_doc/doc_ast_test.exs
@@ -67,7 +67,7 @@ defmodule ExDoc.DocASTTest do
"""
ast = DocAST.parse!(markdown, "text/markdown")
- assert DocAST.to_string(ast) == ~s{}
+ assert DocAST.to_string(ast) == ~s{\n}
end
test "with fun" do