Skip to content
Snippets Groups Projects
Commit d3d7160c authored by Uwe Trotzek's avatar Uwe Trotzek Committed by Nikita Hovratov
Browse files

[BUGFIX] Display human-readable preview of FlexForm values

This change transforms the processed record of FlexForms
into a human-readable format.

This is especially useful when comparing changes in the
history module or the workspaces diff view.

The diff needs to be formatted with line breaks and tabs as
the output is passed through "htmlspecialchars" before it
will be displayed.

The white-space css setting needs to be changed to
"pre-wrap", because this is the only setting where line
breaks and tabs are kept and the text will still be
word-wrapped.

Resolves: #91148
Releases: main, 12.4
Change-Id: I189555f459a3a96594e9c708b4ee71c908efd970
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75117


Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81508
parent 0ce568c8
Branches
Tags
No related merge requests found
Showing
with 667 additions and 81 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