Some more Microformats2 data for notices and rendering

This commit is contained in:
Mikael Nordfeldth
2016-03-02 13:29:54 +01:00
parent 6529fdd28d
commit dc1ceca86e
2 changed files with 9 additions and 3 deletions

View File

@@ -692,7 +692,7 @@ function common_linkify_mention(array $mention)
$xs = new XMLStringer(false);
$attrs = array('href' => $mention['url'],
'class' => 'h-card '.$mention['type']);
'class' => 'h-card u-url p-nickname '.$mention['type']);
if (!empty($mention['title'])) {
$attrs['title'] = $mention['title'];