diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-10 01:19:04 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-10 01:19:33 +0100 |
commit | ca3b364aeaa9014f23b4222a13586f42efb17b93 (patch) | |
tree | 33e1255a7cf79ec33478ecf666836baae02e357c /app/lib | |
parent | bf5f55a6bbfee69e41acfcd14002308c69d8b68c (diff) |
Fix #122 - Add microformats-2 classes to mention links
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/formatter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index d7b100649..3a6ba97c8 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -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 |