[我使用扩展程序生成器创建了扩展程序和插件,该扩展程序将一些HTML代码生成到文件fileadmin/templates/List.html
。此内容以以下形式进入我的网页的template.html中
<f:section name="some-content">
<f:format.html> {some_content} </f:format.html>
</f:section>
some_content来自我的Typoscript模板
some_content < styles.content.get
some_content.select.where = colPos = 1
该插件是从后端布局附加的
问题是,在我的HTML页面中,我在<p>
标签中获得了插件信息
<p class="bodytext"> </p>
<p class="bodytext"> <!-- CONTENT ELEMENT, uid:260/list [begin] --></p>
<p class="bodytext"> </p><div id="c260" class="csc-default"><p class="bodytext"> </p>
<p class="bodytext"> <!-- Plugin inserted: [begin] --></p>
<p class="bodytext"> </p>
<p class="bodytext"> <!-- Plugin inserted: [end] --></p>
<p class="bodytext"> </p></div><p class="bodytext"> <!-- CONTENT ELEMENT, uid:260/list [end] --></p>
<p class="bodytext"> </p>
而这弄乱了我的CSS。
在常量中:
content.RTE_compliant = 0
在设置中:
tt_content.stdWrap.dataWrap > lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines>
<f:format.html>
时,我还是希望仍使用它,但要使用parseFunc属性。<f:format.html parseFuncTSPath="">{some_content}</f:format.html>
您可以在其中分配解析功能。 (空值将忽略标准行为和P标签的默认显示。