Add rel="ugc"

This commit is contained in:
kPherox 2019-10-01 02:24:06 +09:00
parent a0f101ee80
commit f364438032
No known key found for this signature in database
GPG Key ID: C04751C2BFA2F62D

View File

@ -362,7 +362,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController.UpdateCredentialsTest do
assert account["fields"] == [
%{"name" => "foo", "value" => "bar"},
%{"name" => "link", "value" => "<a href=\"http://cofe.io\">cofe.io</a>"}
%{"name" => "link", "value" => ~S(<a href="http://cofe.io" rel="ugc">cofe.io</a>)}
]
assert account["source"]["fields"] == [