Fixed bug #14388: TypoScript templates containing a "$1" become corrupted
authorTobias Liebig <mail@etobi.de>
Thu, 27 May 2010 08:26:33 +0000 (08:26 +0000)
committerTobias Liebig <mail@etobi.de>
Thu, 27 May 2010 08:26:33 +0000 (08:26 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7688 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/t3editor/classes/class.tx_t3editor_hooks_tstemplateinfo.php

index b26461d..6f74e1b 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-27  Tobias Liebig  <mail_typo3@etobi.de>
+
+       * Fixed bug #14388: TypoScript templates containing a "$1" become corrupted
+
 2010-05-27  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #14489: htmlArea RTE: color dialogues do not show all configured colors
index 7747870..0eacf4b 100644 (file)
@@ -95,7 +95,7 @@ class tx_t3editor_hooks_tstemplateinfo {
                                $outCode = $t3editor->getCodeEditor(
                                        'data[' . $type . ']',
                                        'fixed-font enable-tab',
-                                       t3lib_div::formatForTextarea($parameters['tplRow'][$type]),
+                                       '$1', // will be replaced with the actual code later, see preg_replace below
                                        $attributes,
                                        $title,
                                        array(