Project

General

Profile

Actions

Bug #105446

open

lib.parseFunc_RTE and lib.parseFunc no longer have a allowTags default

Added by Garvin Hicking 28 days ago. Updated 28 days ago.

Status:
Under Review
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2024-10-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

With #104220 a change of behaviour was introduced that no longer sets `lib.parseFunc_RTE.allowTags = {$styles.content.allowTags}`.

If custom extensions like a sitepackage however previously used this code:

lib.parseFunc.allowTags := addToList(wbr)
lib.parseFunc_RTE.allowTags := addToList(wbr)

then addToList would actually set the previously empty allowTags ONLY to "wbr". This would then deny any tag besides "wbr", and not just allow "wbr" additionally to the previous default.

(Currently, this is not listed as an intentional breaking change)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #104220: Make parseFunc allowTags and denyTags optionalClosed2024-06-26

Actions
Actions #1

Updated by Garvin Hicking 28 days ago

  • Related to Bug #104220: Make parseFunc allowTags and denyTags optional added
Actions #2

Updated by Gerrit Code Review 28 days ago

  • Status changed from Accepted to Under Review

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

Actions

Also available in: Atom PDF