Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into test-warnings

This commit is contained in:
Lain Soykaf 2023-02-09 12:28:02 -05:00
commit e412363ff8
5 changed files with 21 additions and 9 deletions

View file

@ -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