Review main Merged

96174[BUGFIX] Keep paragraphs with embedded media when saving RTE content

Georg Ringer CR +2 V +2 Easy +43 −3 updated 10/01/26, 06:46

Commit message

When persisting RTE content, a paragraph containing only a " "
besides its tags is considered blank and emptied. Only an image was
considered content, so a paragraph like

  <p>&nbsp;<audio><source src="…" /></audio></p>

was removed completely. This affects installations which allow
media tags in the RTE processing configuration, as these tags are
not part of the allowed tags by default.

Embedded content like picture, source, audio, video, iframe, embed,
object, svg and canvas is now considered content as well.

Review

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

Issues 1

Files 2

Review log 67

  1. Georg Ringer uploaded patch set 1 09/29/26, 19:00

  2. Georg Ringer commented on patch set 1 09/29/26, 19:01

    This change is ready for review.
  3. core-ci voted on patch set 1 V +1 09/29/26, 19:08 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109532

  4. Benni Mack voted on patch set 1 CR +1 V +1 09/30/26, 13:20

  5. Josua Vogel voted on patch set 1 CR +1 V +1 10/01/26, 06:11

  6. Benni Mack voted on patch set 1 CR +2 V +2 10/01/26, 06:46

  7. Benni Mack merged patch set 2 10/01/26, 06:46