Review 13.4 Merged

88414[TASK] Add tests for RteHtmlParser and HtmlParser YAML coverage

Garvin Hicking CR +2 V +2 Expert +1210 −0 updated 02/28/25, 17:14

Commit message

Both RteHtmlParser and HtmlParser had no coverage for 'fixAttribs'
functionality (and 'blockElements', 'denyTags', 'casesensitiveComp').

This patch adds tests to verify these can be performed, in both
TypoScript or RTE YAML Preset "processing" modes.

These tests also reveal issues in array vs. string handling,
the YAML parsing is missing to allow some directives
(fixAttribs.list and fixAttribs.range most notable) to be
specified in either string or array notation. This is
addressed in a seperate bugfix #92943.

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
  • Verified V +2 Done
    • Garvin Hicking +2
    • core-ci +1 CI

Issues 2

Files 7

Review log 34

  1. Garvin Hicking commented on patch set 1 02/28/25, 16:51

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 02/28/25, 17:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/74915

  3. Garvin Hicking voted on patch set 1 CR +2 V +2 02/28/25, 17:14

  4. Garvin Hicking merged patch set 2 02/28/25, 17:14