Actions
Bug #92756
closedRTE - fixAttrib to A-link not applied when link is inside list
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
Actions