Issue Bug Closed

#98606Link text in typoLink_PostProc hook

Roman Büchler 10/13/22, 11:52 updated 11/08/22, 12:34

Description

Use case

When using the typoLink_PostProc hook the typoscript setup “config.spamProtectEmailAddresses_atSubst = (at)” is not being respected. Instead of rendering “info(at)domain.ch” the plain email address “info@domain.ch” is rendered.

Findings

In case hook registrations exist the already processed link text (available in “$thislastTypoLinkResult->getLinkText()”) is overwritten with the initial link text (that might get altered by a registered hook processor).

Reviews 1