Skip to content

Commit e24cc25

Browse files
authored
Update Earmark (#1671)
It contains security fixes. Albeit they are unlikely to apply to ExDoc, it doesn't hurt to update.
1 parent a40aa97 commit e24cc25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ defmodule ExDoc.Mixfile do
3131

3232
defp deps do
3333
[
34-
{:earmark_parser, "~> 1.4.19"},
34+
{:earmark_parser, "~> 1.4.31"},
3535
{:makeup_elixir, "~> 0.14"},
3636
{:makeup_erlang, "~> 0.1"},
3737
{:makeup_html, ">= 0.0.0", only: :dev},

test/ex_doc/doc_ast_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ defmodule ExDoc.DocASTTest do
6767
"""
6868

6969
ast = DocAST.parse!(markdown, "text/markdown")
70-
assert DocAST.to_string(ast) == ~s{<span><i></i><i></i></span>}
70+
assert DocAST.to_string(ast) == ~s{<span><i></i>\n<i></i></span>}
7171
end
7272

7373
test "with fun" do

0 commit comments

Comments
 (0)