The [node:author] token just outputs $node->name. Any time a user name is output the format_username() function should be used.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Status: Active » Needs review
FileSize
1.47 KB
Dave Reid’s picture

Component: node system » token system
Damien Tournoud’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs backport to D7
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Good catch! Committed to 7.x and 8.x. Thanks.

Automatically closed -- issue fixed for 2 weeks with no activity.