Problem:

template_preprocess_username() duplicates some functionality of Unicode::truncate() and now incorrectly renders ellipses.

Solution:

Use Unicode::truncate() in template_preprocess_username().

CommentFileSizeAuthor
#1 2279635-1.patch772 bytesthedavidmeister

Comments

thedavidmeister’s picture

Status: Active » Needs review
StatusFileSize
new772 bytes
sun’s picture

Component: markup » user.module
Status: Needs review » Reviewed & tested by the community
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 5ba531d and pushed to 8.x. Thanks!

  • Commit 5ba531d on 8.x by alexpott:
    Issue #2279635 by thedavidmeister: Fixed template_preprocess_username()...

Status: Fixed » Closed (fixed)

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