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 almost 8 years ago. Updated about 6 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 #2

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51755

Actions #3

Updated by Gerrit Code Review almost 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51755

Actions #4

Updated by Philipp Kerling almost 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF