spamProtectEmailAddresses doesn't work as expected with value "ascii"
In the documentation, it's written that when you set :
config.spamProtectEmailAddresses = ascii
every character of the “mailto:” address will be translated to a Unicode HTML notation like this :
But when I set this parameter, email links are not encrypted :
If I set another value, for example :
config.spamProtectEmailAddresses = -2
it works as expected : encryption + JS.
Updated by Tizian Schmidlin 11 months ago
did you check the source code with the element browser or did you open the take a look at the source code directly? Oftentimes the element browser tries to help by replacing such characters with human readables which then leads to misinterpretation of what is really going on.
In any case, ascii should not be used (see #90044) for details.
Why did you want to use the "ascii" option in the first place?
Updated by Florian Rival 11 months ago
To answer your question, I use the "ascii" option because it's the default option and it doesn't need JS to work and whenever I develop a site I tried to remove all unnecessary code.
But I looked the issue https://forge.typo3.org/issues/90044 and agree with this so I won't use this option anymore.
Thx for your help