Project

General

Profile

Bug #16217 » rtehtmlarea_bugfix_3632_typo3_4-2.patch

Administrator Admin, 2008-10-04 05:54

View differences:

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, "&nbsp;<");
}
return false;
};
(2-2/2)