Project

General

Profile

Actions

Bug #79896

closed

All <a> tag parameters are dropped on FE rendering due to typo in lib.parseFunc

Added by Philipp Kerling about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid Styled Content
Target version:
-
Start date:
2017-02-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Both fluid_styled_content and css_styled_content include this in their lib.parseFunc:

lib.parseFunc {
[...]
    tags {
        [...]
        a {
            [...]
            typolink {
                [...]
                aTagParams.data = parameters:allParams
            }
        }
    }
}

which should, theoretically, make sure that if you e.g. write <a href="#" class="btn"> or similar in your CE, the class parameter is retained in the FE output.
Sadly, this is not the case and all parameters are dropped. The cause is that the typolink aTagParams parameter must be written with an uppercase A.


Files

typo3_csc_fsc_fix_atagparams.patch (1.6 KB) typo3_csc_fsc_fix_atagparams.patch Philipp Kerling, 2017-02-18 21:52

Related issues 1 (0 open1 closed)

Precedes TYPO3 Core - Bug #80373: href contains t3:// protocolClosed2017-03-21

Actions
Actions

Also available in: Atom PDF