From a8df7fc69041e8d7a6ed71621159d2f7487e1ce7 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 27 May 2018 12:53:14 +0000 Subject: [PATCH] formatter: use class='mention' on links to user profiles helps mastodon frontend and apps have better context: https://mastodon.social/users/Gargron/statuses/100101267352899379 --- lib/pleroma/formatter.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/formatter.ex b/lib/pleroma/formatter.ex index 53e2c204f..d23a284ca 100644 --- a/lib/pleroma/formatter.ex +++ b/lib/pleroma/formatter.ex @@ -200,7 +200,7 @@ defmodule Pleroma.Formatter do ap_id = info["source_data"]["url"] || ap_id short_match = String.split(match, "@") |> tl() |> hd() - {uuid, "@#{short_match}"} + {uuid, "@#{short_match}"} end) {subs, uuid_text}