[BUGFIX] RTE: Multi-line lists in default PageTS configs cause problems 35/33935/2
authorStanislas Rolland <typo3@sjbr.ca>
Mon, 10 Nov 2014 02:57:50 +0000 (21:57 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Mon, 10 Nov 2014 03:05:37 +0000 (04:05 +0100)
commita5087cf6d513c908d4f1fde2c4006e6b92291b1f
treea82d307f3e13d9300ae93e120c5caf0d10ab2732
parent8f818519d406e55a030e348c10d5b6c142065a71
[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/33935
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/rtehtmlarea/Configuration/PageTS/Demo/pageTSConfig.txt
typo3/sysext/rtehtmlarea/Configuration/PageTS/Proc/pageTSConfig.txt
typo3/sysext/rtehtmlarea/Configuration/PageTS/Typical/pageTSConfig.txt
typo3/sysext/rtehtmlarea/Documentation/DefaultConfigurations/Default/Index.rst
typo3/sysext/rtehtmlarea/Documentation/DefaultConfigurations/Demo/Index.rst
typo3/sysext/rtehtmlarea/Documentation/DefaultConfigurations/Typical/Index.rst