Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
TYPO3 RTE将地址元素包装在p元素中,并输出无效的HTML_Typo3_Typoscript_Fluid_Typo3 6.2.x - Fatal编程技术网

TYPO3 RTE将地址元素包装在p元素中,并输出无效的HTML

TYPO3 RTE将地址元素包装在p元素中,并输出无效的HTML,typo3,typoscript,fluid,typo3-6.2.x,Typo3,Typoscript,Fluid,Typo3 6.2.x,我在TYPO3 6.2.4中有一个内容元素。此内容元素包含多个-元素,如: <address>An address</address> <address>Some phone numbers and emails</address> 以下是我将内容放入模板的方式: lib.content < styles.content.get 我怎样才能摆脱那些包装元素呢?我很想回答你的问题,但从发布的代码片段来看,你似乎会做得很好。可能未应用某些配置

我在TYPO3 6.2.4中有一个内容元素。此内容元素包含多个
-元素,如:

<address>An address</address>
<address>Some phone numbers and emails</address>
以下是我将内容放入模板的方式:

lib.content < styles.content.get

我怎样才能摆脱那些包装元素呢?

我很想回答你的问题,但从发布的代码片段来看,你似乎会做得很好。可能未应用某些配置。您能在这里添加完整的RTE配置(从信息->页面配置)吗?
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.nonWrappedTag >
lib.content < styles.content.get
<f:cObject typoscriptObjectPath="lib.content" />
RTE.default {
    proc {
        allowTags = h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, blockquote, footer, strong, em, b, i, u, a, img, hr, q, cite, abbr, acronym, center, address

        exitHTMLparser_db = 1
        exitHTMLparser_db {
            tags.b.remap = strong
            tags.i.remap = em
        }
    }
}

RTE.default.proc.allowTagsOutside:= addToList(address)