fluid_styled_content渲染会生成大量空白行

时间:2016-12-02 10:01:40

标签: typo3-7.6.x

我用TYPO3 V7.6.x创建了三个网站。所有这些都使用fluid_styled_content扩展。作为输出设置,我使用10.variables.content < styles.content.get和模板{content -> f:format.raw()}。 Whit这些所有输出的html代码都有很多空白行。例如:

<!--TYPO3SEARCH_begin-->

<div id="c26">










        <h1>Fachstelle Gesundheitsförderung Uri</h1>



























</div>

<div id="c14">








    <div class="ce-textpic ce-left ce-above">















        <div class="ce-bodytext">

            <p><span class="lead-text">Consetetur sadipscing elitr, sed diam nonumy eirmod tempor  invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At  vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd  gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.  Dolores et ea rebum. Stet clita , no sea takimata.</span></p>
        </div>


    </div>




</div>

<div class="row link-box"><div class="col-sm-6"><a href="/ueber-uns/"><img src="/fileadmin/_processed_/8/7/csm_teaser-1_f496539e13.jpg" width="720" height="375"  class="img-responsive"  alt="Gesundheitsförderung" ><div class="link-box-title"><h2>Gesundheitsförderung</h2></div></a></div><div class="col-sm-6"><a href="/ueber-uns/"><img src="/fileadmin/_processed_/8/7/csm_teaser-1_f496539e13.jpg" width="720" height="375"  class="img-responsive"  alt="Cool &amp; Clean" ><div class="link-box-title"><h2>Cool & Clean</h2></div></a></div><div class="col-sm-6"><a href="/ueber-uns/"><img src="/fileadmin/_processed_/8/7/csm_teaser-1_f496539e13.jpg" width="720" height="375"  class="img-responsive"  alt="Verein" ><div class="link-box-title"><h2>Verein</h2></div></a></div><div class="col-sm-6 news-latest"><a href="/ueber-uns/news/detail/?tx_ttnews%5Btt_news%5D=3&amp;cHash=6d34dea8e8bab4f3cd47e60b524f7b27"><div class="link-box-description"><p>15. November 2016</p><h3>Projekt Ernährung</h3><p class="teaser">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et...</p></div><div class="link-box-title"><h2>News</h2></div></a></div></div>
<div id="c40">












        <h2>Weitere Infos</h2>

























    <div class="ce-textpic ce-left ce-above">















        <div class="ce-bodytext">

            <p><a href="/kontakt/" class="link-list">Newsletter</a><a href="/kontakt/" class="link-list">Veranstaltungen</a><a href="/kontakt/" class="link-list">Kontakt</a> </p>
        </div>


    </div>




</div>


<!--TYPO3SEARCH_end-->

如何删除不需要的空行?

提前致谢 丹尼尔

0 个答案:

没有答案