Commit 7e23a48d authored by rinpatch's avatar rinpatch
Browse files

rel me test: fix HTML so broken browsers (and therefore

lexbor) refuse to parse it like mochiweb does
parent 325c7c92
......@@ -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=""></a> <a rel="me" href=""></a> <link href=""> <link rel="me" href="">)
user = insert(:user, %{bio: bio})
assert RelMe.build_tags(%{user: user}) == [
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment