Problem: This is a regression caused by patch to issue #16217.
The last two lines of the merged patch are wrong. They should replace
only leading and trailing spaces inside block elements.
Solution: Revert the last two replacement lines of the patch.
Change-Id: I1ed4676ab4f16e2c3593a111c3593197a63b0d7b
Resolves: #32263
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/7754
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
return this.textArea.getValue().
replace(/[\x20]+/g, '\x20').
replace(/^\x20/g, ' ').
- replace(/\x20$/g, ' ').
- replace(/>\x20/g, '> ').
- replace(/\x20</g, ' <');
+ replace(/\x20$/g, ' ');
default:
return '';
}