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

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

index 29f728e..b485d81 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
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);
+                                       // The line will be wrapped: $uTagName should not be an empty tag
+                               $emptyTag = 0;
                                $str_content = $lParts[$k];
                                $nWrapped = 1;
                                $attrib = array();