Fixed bug #5331: Remove the caption wrap on images if no caption is set (thanks to...
authorOliver Hader <oliver.hader@typo3.org>
Wed, 11 Jul 2007 13:26:49 +0000 (13:26 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 11 Jul 2007 13:26:49 +0000 (13:26 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2396 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/css_styled_content/static/setup.txt

index e42eb97..248b907 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-11  Oliver Hader  <oh@inpublica.de>
+
+       * Fixed bug #5331: Remove the caption wrap on images if no caption is set (thanks to Georg Ringer)
+
 2007-07-07  Oliver Hader  <oh@inpublica.de>
 
        * Fixed bug #5053: imgNameNotRandom on TMENU/GMENU could break rollover behaviour (thanks to Ralf Hettinger)
index 1819829..ed1be59 100755 (executable)
@@ -1333,7 +1333,10 @@ tt_content.image.20 {
                        oneImageStdWrap.dataWrap = <dl class="csc-textpic-image###CLASSES###" style="width:{register:imagespace}px;"> | </dl>
                        imgTagStdWrap.wrap = <dt> | </dt>
                        editIconsStdWrap.wrap = <dd> | </dd>
-                       caption.wrap = <dd class="csc-textpic-caption"> | </dd>
+                       caption {
+                               required = 1
+                               wrap = <dd class="csc-textpic-caption"> | </dd>
+                       }
                }
                ul {
                        imageRowStdWrap.dataWrap = <div class="csc-textpic-imagerow" style="width:{register:rowwidth}px;"><ul> | </ul></div>