[BUGFIX] Allow t3:// syntax to be parsed by lib.parseFunc 00/51000/5
authorBenni Mack <benni@typo3.org>
Mon, 19 Dec 2016 20:36:21 +0000 (21:36 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Tue, 20 Dec 2016 10:04:25 +0000 (11:04 +0100)
commit53f28e994626b7cf5e32d674c2a868f205205cd3
tree82f6d89f469efa64a852ea78a0132c33b6d24e51
parentfc8342ee71972652a7f5ed6c4857538df100f234
[BUGFIX] Allow t3:// syntax to be parsed by lib.parseFunc

When introducing the new t3:// linking syntax for typolink,
we also allowed to use them in the RTE without using <link>
anymore, which is really cool. However, the frontend (= TypoScript)
cannot deal with that yet.

A clean function within parseFunc should "transformLinks" with typolink.
For the time being, a parseFunc.tags.A is introduced to allow
the transformations to be rendered correctly.

It *could* have a side-effect that certain attributes
within parseFunc.tags.A are rendered twice, but can be solved
at a later point by sanitizing the attributes quite simple.

Resolves: #79041
Releases: master
Change-Id: Ib8da2a88b67a633fc89a5c1ddee90c8e14f5b27b
Reviewed-on: https://review.typo3.org/51000
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/css_styled_content/Configuration/TypoScript/v7/setup.txt
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/fluid_styled_content/Configuration/TypoScript/Static/Setup/lib.parseFunc.ts