Issue Bug Closed

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

Garvin Hicking 10/24/24, 14:16 updated 08/12/25, 14:36

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)

Reviews 3