From 36772a83d9e7792fe5afecbef28f2d6592146482 Mon Sep 17 00:00:00 2001
From: Philipp Kerling <pkerling@casix.org>
Date: Sun, 19 Feb 2017 12:14:11 +0100
Subject: [PATCH] [BUGFIX] fsc/csc: Fix typolink parameters in parseFunc

This is a simple typo in the lib.parseFunc of both fluid_styled_content
and css_styled_content. The ATagParams attribute for the typolink
function needs to be written with a capital A in order to work,
otherwise all additional parameters on <a> tags will be dropped in the
rendered output.

Resolves: #79896
Releases: master
Change-Id: I54d5c18fe6934c03b97ae197aba56055394916e5
Reviewed-on: https://review.typo3.org/51755
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
---
 .../Configuration/TypoScript/Helper/ParseFunc.txt               | 2 +-
 .../Configuration/TypoScript/Helper/ParseFunc.txt               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/typo3/sysext/css_styled_content/Configuration/TypoScript/Helper/ParseFunc.txt b/typo3/sysext/css_styled_content/Configuration/TypoScript/Helper/ParseFunc.txt
index 166404317242..fcb8fb4aa424 100644
--- a/typo3/sysext/css_styled_content/Configuration/TypoScript/Helper/ParseFunc.txt
+++ b/typo3/sysext/css_styled_content/Configuration/TypoScript/Helper/ParseFunc.txt
@@ -25,7 +25,7 @@ lib.parseFunc {
             typolink {
                 parameter.data = parameters:href
                 title.data = parameters:title
-                aTagParams.data = parameters:allParams
+                ATagParams.data = parameters:allParams
                 target.data = parameters:target
                 extTarget = {$styles.content.links.extTarget}
                 extTarget.override.data = parameters:target
diff --git a/typo3/sysext/fluid_styled_content/Configuration/TypoScript/Helper/ParseFunc.txt b/typo3/sysext/fluid_styled_content/Configuration/TypoScript/Helper/ParseFunc.txt
index c7cdec7faeae..dad864556481 100644
--- a/typo3/sysext/fluid_styled_content/Configuration/TypoScript/Helper/ParseFunc.txt
+++ b/typo3/sysext/fluid_styled_content/Configuration/TypoScript/Helper/ParseFunc.txt
@@ -26,7 +26,7 @@ lib.parseFunc {
             typolink {
                 parameter.data = parameters:href
                 title.data = parameters:title
-                aTagParams.data = parameters:allParams
+                ATagParams.data = parameters:allParams
                 target.data = parameters:target
                 extTarget = {$styles.content.links.extTarget}
                 extTarget.override.data = parameters:target
-- 
GitLab