Skip to content

Commit

Permalink
Update Earmark (#1671)
Browse files Browse the repository at this point in the history
It contains security fixes. Albeit they are unlikely to
apply to ExDoc, it doesn't hurt to update.
  • Loading branch information
RobertDober authored Mar 3, 2023
1 parent a40aa97 commit e24cc25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
2 changes: 1 addition & 1 deletion test/ex_doc/doc_ast_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ defmodule ExDoc.DocASTTest do
"""

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

test "with fun" do
Expand Down

0 comments on commit e24cc25

Please sign in to comment.