Issue Bug Closed

#79680lib.parseFunc not treating mailto:, tel: etc. links properly

Gregor Favre 02/08/17, 10:46 updated 04/07/17, 23:46

Description

When using mailto: links in text/media content elements, in the frontend those links are not rendered by lib.parseFunc: the A-tag is removed. However, when not using lib.parseFunc (or removing lib.parseFunc.tags.a), then t3:// links are not rendered. This ends up in either t3:// links not working, or default protocol:// links not working.

Reproduce:
1. Create page with one content element, containing a mailto-Link
2. Assign content element via typoscript as a template variable to fluid template
3a. Render content in fluid template with <f:format parsefunctspath="lib.parseFunc">{content}<br>3b. mailto: Links are not rendered</f:format>

4a. Render content in fluid template with <f:format parsefunctspath>{content}<br>4b. mailto: Links are rendered, but all other links (i.e. pagelinks) are not rendered</f:format>

TYPO3-Version: 8.5.1
Using fluid_styled_content

Reviews 0

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