Review 10.4 Merged

72580[BUGFIX] Respect single tags without white space

Benni Mack CR +2 V +2 Easy +35 −1 updated 12/10/21, 10:22

Commit message

Make HTML parser more tolerant for single tags with ending slash but
without white spaces. So `<hr/>` already was allowed and internally
converted to `<hr />` while parsing the HTML. This patch extends this
replace rule to all tags so that also `<br/>` can be used in RTE fields.

Review

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

Issues 1

Files 2

Review log 57

  1. Benni Mack commented on patch set 1 12/10/21, 09:59

    Cherry Picked from branch 11.5. The following files contain Git conflicts: * typo3/sysext/core/Classes/Html/RteHtmlParser.php
  2. Benni Mack commented on patch set 2 12/10/21, 10:01

    Published edit on patch set 1.
  3. Benni Mack marked it ready for review 12/10/21, 10:01

  4. core-ci voted on patch set 1 V -1 12/10/21, 10:03 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/20918

  5. core-ci voted on patch set 2 V +1 12/10/21, 10:15 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/20919

  6. Benni Mack voted on patch set 2 V +2 CR +2 12/10/21, 10:21

  7. Benni Mack merged patch set 3 12/10/21, 10:22