0
0
Fork 0

Fix #122 - Add microformats-2 classes to mention links

This commit is contained in:
Eugen Rochko 2016-11-10 01:19:04 +01:00
parent bf5f55a6bb
commit ca3b364aea
2 changed files with 2 additions and 2 deletions

View file

@ -66,6 +66,6 @@ class Formatter
end
def mention_html(match, account)
"#{match.split('@').first}<a href=\"#{TagManager.instance.url_for(account)}\" class=\"mention\">@<span>#{account.username}</span></a>"
"#{match.split('@').first}<a href=\"#{TagManager.instance.url_for(account)}\" class=\"h-card u-url p-nickname mention\">@<span>#{account.username}</span></a>"
end
end