Issue Bug Closed

#96650typo3 11.5 spamProtectEmailAddresses Uncaught TypeError: value is undefined

Thorsten Geißler 01/26/22, 10:22 updated 11/22/22, 09:18

Description

If spamProtectEmailAddresses is activated, an e-mail-link wrapping some html-elements doesnt work. A click on the generated link doesnt open the e-mail client as expected. Console shows “Uncaught TypeError: value is undefined”.

Example for testing in TYPOSCRIPT:


config.spamProtectEmailAddresses = 1
config.spamProtectEmailAddresses_atSubst = (at)

100 = TEXT
100.value = <span class="fa-envelope-o fa" aria-hidden="true"></span>
100.typolink.parameter = mailto:info@example.org - - "Send a mail to main TYPO3 contact"
100.typolink.ATagBeforeWrap = 1
100.typolink.wrap = |<span>E-MAIL</span>

Greetz

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.