</object>
EOT;
- $tagger_link = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]';
- $aauthor_link = '[url=' . $item['author-link'] . ']' . $item['author-name'] . '[/url]';
- $post_link = '[url=' . $item['plink'] . ']' . ($item['resource-id'] ? $this->t('photo') : $this->t('post')) . '[/url]';
- $term_link = '#[url=' . $tagid . ']' . $term . '[/url]';
+ $tagger_link = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]';
+ $author_link = '[url=' . $item['author-link'] . ']' . $item['author-name'] . '[/url]';
+ $post_link = '[url=' . $item['plink'] . ']' . ($item['resource-id'] ? $this->t('photo') : $this->t('post')) . '[/url]';
+ $term_link = '#[url=' . $tagid . ']' . $term . '[/url]';
$post = [
'guid' => System::createUUID(),
'author-name' => $contact['name'],
'author-link' => $contact['url'],
'author-avatar' => $contact['thumb'],
- 'body' => $this->t('%1$s tagged %2$s\'s %3$s with %4$s', $tagger_link, $aauthor_link, $post_link, $term_link),
+ 'body' => $this->t('%1$s tagged %2$s\'s %3$s with %4$s', $tagger_link, $author_link, $post_link, $term_link),
'verb' => Activity::TAG,
'target-type' => $targettype,
'target' => $target,