[TYPO3-dev] FLUIDTEMPLATE and dl or dt HTML tags in dataWrap

Michael Heigl michael.heigl at yahoo.de
Sun Apr 17 20:32:55 CEST 2011


Hi,

I've tried to set up a basic example using FLUIDTEMPLATE together with css_styled_content and DAM. But it seems the rendering has a problem when using "dl" and "dt" HTML tags - it escapes the < and > characters as it does not seem to recognize the dl and dt tags. For example:

Fluid Template:
<div class="test">
    <f:format.html parseFuncTSPath="lib.parseFunc">{content_normal}</f:format.html>
</div>

Typoscript-Setup:

# a line from css_styled_content

tt_content.image.20.rendering.dl.oneImageStdWrap.dataWrap=<dlclass="csc-textpic-image###CLASSES###"style="width:{register:imagespace}px;">|</dl>

page=PAGE
page{
  typeNum=0

  10=FLUIDTEMPLATE
  10{
    file=fileadmin/scandinavia/tpl/index_fluid.html
    
    variables{
      content_normal<styles.content.get
    }
  }
}


When I change the dataWrap to use <div> instead of <dl> or <dt> it works as expected. 

An example can be found here: http://www.travelto-scandinavia.com/index.php?id=608 


Is there a solution to this problem?

Thanks,
Michael




More information about the TYPO3-dev mailing list