No token replacement in field More link text

Created on 1 July 2025, 3 days ago

Configuring the smart trim More link, both fields (More link text, More link aria-label) state "This field supports tokens." Therefore we should expect they actually do.

Steps to reproduce

Configure any given content type's smart-trimmed field, say in a teaser view mode (settings not listed seem to make no difference):

  • Enable "Display More link?"
  • More link text: Read more about [node:title]
  • More link aria-label: Read more about [node:title]

This results in this link markup: <a href="/path/to/node/demo-content" aria-label="Read more about Demo content" hreflang="en">Read more about [node:title]</a>

Keep in mind that the fix should preserve translatability.

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇩🇪Germany hexabinaer Berlin, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024