[TYPO3-core] RFC: Bug 5331: Remove the caption wrap on images if no caption is set
Wolfgang Klinger
wolfgang at stufenlos.net
Sun Jul 8 09:43:26 CEST 2007
*hiya!*
On Jul 7, 2007, at 2:17 PM, Oliver Hader wrote:
> Problem:
> W3C validators show a warning if images without a caption are used.
> Even
> if the caption is empty/unset the wrap creates an empty tag which
> leads
> to the mentioned warning - e.g. "<dd class="csc-textpic-caption"></
> dd>"
>
> Solution:
> Add a "required" flag to static TypoScript of "CSS Styled Content"
> that
> prevents from wrapping the caption part if no content is set:
> tt_content.image.20.rendering.dl.caption.required=1
+1
bye
Wolfgang
More information about the TYPO3-team-core
mailing list