Project

General

Profile

Actions

Bug #92756

closed

RTE - fixAttrib to A-link not applied when link is inside list

Added by Andreas Moeller over 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2020-11-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
RTE, fixAttrib, TypoScript
Complexity:
Is Regression:
Sprint Focus:

Description

1. Setup the following TypoScript:


lib.parseFunc_RTE.nonTypoTagStdWrap.HTMLparser.tags.ul.fixAttrib.class {
    default = myownclass
    always = 1
}

2. Add the following content inside a RTE

<p><a href="t3://page?uid=1">Link number one</a></p>

<ul>
    <li><a href="t3://page?uid=1">Link insude a list</a></li>
</ul>

3. Watch the results in Frontend

Expected behaviour:
The first AND the second link have an additional class "myownclass"

<p><a href="/" class="myownclass">Link number one</a></p><ul><li><a href="/" class="myownclass">Link insude a list</a></li></ul>

Actual hevaviour:
Only the first link has the additional class "myownclass"

<p><a href="/" class="myownclass">Link number one</a></p><ul><li><a href="/">Link insude a list</a></li></ul>

Version: TYPO3 9.5.22


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #102053: ckeditor - fixAttrib.class.default of A-link not applied when link is inside a list elementNew2023-09-27

Actions
Actions

Also available in: Atom PDF