X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fweb%2Fcommon_api%2Fcommon_api_utils_test.exs;h=2588898d043dc8f9b09429f5a94f3639530fe825;hb=a15b9cbef1b8b06f4fdbfb224f783ea78d1ce27a;hp=230146451ec0685d95a91cd8e6d68d67e17f2015;hpb=f95a2b2cda236f7c0e5ced2a4698e2b10d99fa53;p=akkoma diff --git a/test/web/common_api/common_api_utils_test.exs b/test/web/common_api/common_api_utils_test.exs index 230146451..2588898d0 100644 --- a/test/web/common_api/common_api_utils_test.exs +++ b/test/web/common_api/common_api_utils_test.exs @@ -157,11 +157,11 @@ defmodule Pleroma.Web.CommonAPI.UtilsTest do text = "**hello world**\n\n*another @user__test and @user__test google.com paragraph*" expected = - "
hello world
\nanother hello world
\nanother @user__test and @user__test and @user__test google.com paragraph
\n" + }" class="u-url mention" href="http://foo.com/user__test" rel="ugc">@user__test google.com paragraph\n) {output, _, _} = Utils.format_input(text, "text/markdown")