Project

General

Profile

Actions

Bug #96650

closed

typo3 11.5 spamProtectEmailAddresses Uncaught TypeError: value is undefined

Added by Thorsten Geißler almost 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2022-01-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions

Also available in: Atom PDF