Issue Bug Closed

#78767Bad usability of workspace diff

Andreas Kießling 11/22/16, 14:41 updated 10/02/18, 11:03

Description

The code to generate the workspace diff was changed in #69904 (TYPO3 7.5)

The diff view is now passed through strip_tags and handed over to cogpowered/finediff. Before, tags were not stripped and the diff was done through calling diff on the shell and displayed only changes, not the whole text block.
When you now view a simple block of RTE text, all tags like “link” are missing, but also changes like

to

are not shown. So you don’t really get a html-diff of what you are about to publish but rather a text-diff.

IMHO, this is a big regression for the workspace module and needs a rework, even if it means replacing finediff with yet another diff engine, that can hopefully diff html structures and display the differences in a usable way.

Reviews 2