Bug #31579 » htmlarea.patch
/typo3/sysext/rtehtmlarea/htmlarea/htmlarea_corrected.js 2011-11-03 20:12:42.000000000 +0200 | ||
---|---|---|
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</g, ' <');
|
||
return this.textArea.getValue();
|
||
default:
|
||
return '';
|
||
}
|
- « Previous
- 1
- 2
- Next »