Review 14.3 Merged

96015[BUGFIX] Support comma-separated allowAttributes in RteHtmlParser

Benni Mack CR +2 V +2 Easy +27 −3 updated 09/23/26, 21:15

Commit message

The RTE processing option "allowAttributes" only took effect in its
array form ("allowAttributes."). A comma-separated list, as accepted
by sibling options such as "allowTagsOutside", was silently ignored
and the default attribute list stayed in place.

Both notations are now evaluated. The option restricts the attributes
of <p> tags only, in contrast to "allowedAttribs" of HTMLparser_db,
which is configured per tag. The comments in Processing.yaml and the
property docblock now say so, and no longer refer to the non-existent
option "keepPDIVattribs".

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 3

Review log 58

  1. Benni Mack commented on patch set 1 09/23/26, 18:46

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V -1 09/23/26, 18:54 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109103

  3. Benni Mack commented on patch set 2 V -1 09/23/26, 20:51

    Published edit on patch set 1.
  4. core-ci voted on patch set 2 V -1 09/23/26, 21:02 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109112

  5. Benni Mack commented on patch set 3 V -1 09/23/26, 21:04

    Published edit on patch set 2.
  6. core-ci voted on patch set 3 V +1 09/23/26, 21:13 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109115

  7. Benni Mack voted on patch set 3 CR +2 V +2 09/23/26, 21:15

  8. Benni Mack merged patch set 4 09/23/26, 21:15