[BUGFIX] RTE: Multi-line lists in default PageTS configs cause problems 36/33936/2
authorStanislas Rolland <typo3@sjbr.ca>
Mon, 10 Nov 2014 03:28:10 +0000 (22:28 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Mon, 10 Nov 2014 03:34:52 +0000 (04:34 +0100)
commit2f323a9c85034cc1a0abc549b9bad35b76e7329e
tree4cc0d85965e5316470782ab4d571f7dc21b5140a
parentba3a2676cb54816bdb9406b4c2230af5169d5396
[BUGFIX] RTE: Multi-line lists in default PageTS configs cause problems

Problem: For the sake of clarity, some of the RTE default PageTS
configurations specify lists as multi-line values. If any of these is
ever json-encoded, as some are, for use in JavaScript, some entries in
the list will start with a line feed.
Solution: Use addToList syntax for each additional line.

Releases: master, 6.2
Resolves: #62805
Change-Id: I6cb5eb6556adf2c61bd2610bb6653d767b5972c8
Reviewed-on: http://review.typo3.org/33936
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/rtehtmlarea/Documentation/DefaultConfigurations/Default/Index.rst
typo3/sysext/rtehtmlarea/Documentation/DefaultConfigurations/Demo/Index.rst
typo3/sysext/rtehtmlarea/Documentation/DefaultConfigurations/Typical/Index.rst
typo3/sysext/rtehtmlarea/res/demo/pageTSConfig.txt
typo3/sysext/rtehtmlarea/res/proc/pageTSConfig.txt
typo3/sysext/rtehtmlarea/res/typical/pageTSConfig.txt