[TYPO3-english] TS content variable springs out of div tags
Jennifer Koenig
jenka13all at gmail.com
Wed Oct 22 12:04:03 CEST 2014
Hi again,
I think that my question is simple. I assign the content variable in Typoscript to styles.content.get and include it in my Fluid template like this:
<div class="col-xs-12 col-sm-12 col-md-8 padding-right-remove">
<div class="wrapper-textagegroup col-xs-12 col-sm-12 col-md-12">
<f:format.raw>{content}</f:format.raw>
</div>
</div>
The content does get rendered, but unexpectedly outside of the div tags. When I look at the source code of the rendered page, I see this:
<!-- CONTENT ELEMENT, uid:7694/text [begin] -->
<div id="c7694" class="csc-default">
<!-- Header: [begin] -->
<div class="csc-header csc-header-n2"><h1>Some title blah.</h1></div>
<!-- Header: [end] -->
<!-- Text: [begin] -->
Content here, blah blah...
<!-- Text: [end] -->
</div>
<!-- CONTENT ELEMENT, uid:7694/text [end] -->
<div class="col-xs-12 col-sm-12 col-md-8 padding-right-remove">
<div class="wrapper-textagegroup col-xs-12 col-sm-12 col-md-12">
</div>
</div>
Why does the content variable spring outside of the div tags? How can I anchor it there?
More information about the TYPO3-english
mailing list