rel me test: fix HTML so broken browsers (and therefore
authorrinpatch <rinpatch@sdf.org>
Thu, 16 Jul 2020 18:09:48 +0000 (21:09 +0300)
committerrinpatch <rinpatch@sdf.org>
Fri, 7 Aug 2020 13:45:33 +0000 (16:45 +0300)
lexbor) refuse to parse it like mochiweb does

test/web/metadata/rel_me_test.exs

index ac75580145c6e6276430e687b602e69b355bc55d..2293d6e1344f854c023b4b49419eca1e292e67f8 100644 (file)
@@ -10,6 +10,7 @@ defmodule Pleroma.Web.Metadata.Providers.RelMeTest do
   test "it renders all links with rel='me' from user bio" do
     bio =
       ~s(<a href="https://some-link.com">https://some-link.com</a> <a rel="me" href="https://another-link.com">https://another-link.com</a> <link href="http://some.com"> <link rel="me" href="http://some3.com">)
+
     user = insert(:user, %{bio: bio})
 
     assert RelMe.build_tags(%{user: user}) == [