[BUGFIX] Leading and trailing blanks can't be edited by the RTE
authorStanislas Rolland <typo3@sjbr.ca>
Fri, 2 Sep 2011 21:08:14 +0000 (17:08 -0400)
committerXavier Perseguers <xavier@typo3.org>
Mon, 24 Oct 2011 18:59:00 +0000 (20:59 +0200)
commit5e37e10267bb71984035fec1fc0c43b1c0f167f2
treec5d3a2eaf4e68b09e608f3284f10ae71afc1beef
parentce056cde2dcab6b5be6149c4b0b950be6859e7ae
[BUGFIX] Leading and trailing blanks can't be edited by the RTE

This patch will:
1. collapse repeating spaces into a single one;
2. replace leading and trailing spaces with non-breaking spaces;
3. replace any space following > and any space preceding < by a
   non-breaking space.

Change-Id: I06a8996f23e050e2e30cc2548c9c1bbafd5b41f0
Resolves: #16217
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4758
Reviewed-by: Björn Pedersen
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js