Fixed bug #17373: Standalone images in RTE-enabled field not rendered in frontend
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 1 Feb 2011 16:00:33 +0000 (16:00 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Tue, 1 Feb 2011 16:00:33 +0000 (16:00 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10358 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_content.php

index 6e307e0..5fdbf61 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-01  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Fixed bug #17373: Standalone images in RTE-enabled field not rendered in frontend 
+
 2011-02-01  Steffen Kamper  <steffen@typo3.org>
 
        * Fixed bug #17411: DatePicker middle selector not readable
 2011-02-01  Steffen Kamper  <steffen@typo3.org>
 
        * Fixed bug #17411: DatePicker middle selector not readable
index b342527..4fbbd59 100644 (file)
@@ -4689,6 +4689,8 @@ class tslib_cObj {
                                $uTagName = strtoupper($conf['remapTag.'][$uTagName] ? $conf['remapTag.'][$uTagName] : $uTagName);
                        } else {
                                $uTagName = strtoupper($nonWrappedTag);
                                $uTagName = strtoupper($conf['remapTag.'][$uTagName] ? $conf['remapTag.'][$uTagName] : $uTagName);
                        } else {
                                $uTagName = strtoupper($nonWrappedTag);
+                                       // The line will be wrapped: $uTagName should not be an empty tag
+                               $emptyTag = 0;
                                $str_content = $lParts[$k];
                                $nWrapped = 1;
                                $attrib = array();
                                $str_content = $lParts[$k];
                                $nWrapped = 1;
                                $attrib = array();