Bump earmark to 1.4.22
This commit is contained in:
parent
f76c1d4f70
commit
259905a893
3 changed files with 7 additions and 3 deletions
|
|
@ -178,6 +178,10 @@ defmodule Pleroma.Web.CommonAPI.UtilsTest do
|
|||
code = "https://github.com/pragdave/earmark/"
|
||||
{result, [], []} = Utils.format_input(code, "text/markdown")
|
||||
assert result == ~s[<p><a href="#{code}">#{code}</a></p>]
|
||||
|
||||
code = "https://github.com/~foo/bar"
|
||||
{result, [], []} = Utils.format_input(code, "text/markdown")
|
||||
assert result == ~s[<p><a href="#{code}">#{code}</a></p>]
|
||||
end
|
||||
|
||||
test "link with local mention" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue