Bug #16217 » rtehtmlarea_bugfix_3632_typo3_4-2.patch
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail) | ||
---|---|---|
case "wysiwyg":
|
||
return HTMLArea.getHTML(this._doc.body, false, this);
|
||
case "textmode":
|
||
return this._textArea.value;
|
||
// Collapse repeated spaces non-editable in wysiwyg
|
||
// Replace leading and trailing spaces non-editable in wysiwyg
|
||
return this._textArea.value.
|
||
replace(/[\x20]+/g, "\x20").
|
||
replace(/^\x20/g, " ").
|
||
replace(/\x20$/g, " ").
|
||
replace(/>\x20/g, "> ").
|
||
replace(/\x20</g, " <");
|
||
}
|
||
return false;
|
||
};
|
- « Previous
- 1
- 2
- Next »