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

Files: 
CommentFileSizeAuthor
#1 1185842-node-author-token-format-username.patch1.47 KBDave Reid
PASSED: [[SimpleTest]]: [MySQL] 30,035 pass(es).
[ View ]

Comments

Dave Reid’s picture

Status:Active» Needs review
StatusFileSize
new1.47 KB
PASSED: [[SimpleTest]]: [MySQL] 30,035 pass(es).
[ View ]
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.