Skip to content
Snippets Groups Projects
Commit e3ebdf90 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Prepare stateless DiffUtility

DiffUtility has the unfortunate property
`$stripTags`, making this tiny service
stateful. This service should not
`strip_tags()` on its own, consumers should,
if needed.

The patch adds a new method `diff()`, that
does not strip tags anymore and deprecates
the property and method `makeDiffDisplay()`.

Resolves: #104325
Releases: main
Change-Id: Ib6705816bf1547bc2a54eb5bb364fdcde4c10ea9
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85141


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 6a83d34c
Branches
Tags
No related merge requests found
Showing
with 118 additions and 50 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment