Issue Bug Closed

#48049CSC-Styled-Content "Hidden" Header with HTML5 is rendered as <h100>

Gabriel Kaufmann TYPOworx GmbH | NewMedia 05/08/13, 10:40 updated 10/26/17, 15:49

Description

I’m using TYPO3 4.7.10 with HTML5-Mode (doctype=html5).

I noticed that Headers configured as “hidden”-Type (Type 100) are rendered as h100-Tag.

Furthermore there seems to be some conflict in CSC-Styled-Content Typoscript, as the non-html5 Headers seem to have a correct condition:

This looks fine:

lib.stdheader {
  # Defined in: "EXT:css_styled_content/static/", 395
  stdWrap {
    fieldRequired = header

   # Post-processing:
   if {
     equals.field = header_layout
     value = 100
     negate = 1
   }
}

But it seems to conflict somehow with this?

lib.stdheader {
  # HTML5 subheader, Defined in: "EXT:css_styled_content/static/", 308
  20 = CASE
  20 {
    # HTML5 Header Overrides
    # [...]

    if.isTrue {
      value = html5
      equals.data = TSFE:config|config|doctype
    }
  }
}

Each condition for its own look fine at first glance, but the second one for HTML5 seems to miss an additional check for the hidden-header of type “100” as defined in “EXT:css_styled_content/static/”, Line 395.

Can anyone confirm this?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.