--- /typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js 2011-11-03 18:27:18.000000000 +0200
+++ /typo3/sysext/rtehtmlarea/htmlarea/htmlarea_corrected.js 2011-11-03 20:12:42.000000000 +0200
@@ -2232,12 +2232,7 @@
case 'textmode':
// Collapse repeated spaces non-editable in wysiwyg
// Replace leading and trailing spaces non-editable in wysiwyg
- return this.textArea.getValue().
- replace(/[\x20]+/g, '\x20').
- replace(/^\x20/g, ' ').
- replace(/\x20$/g, ' ').
- replace(/>\x20/g, '> ').
- replace(/\x20