[TYPO3-english] TYPO3 6.1 outputting HTML5 figuretag as text / entities
Morten Peter Hagh Jensen
morten at hagh.dk
Mon Oct 28 12:00:05 CET 2013
Hi list,
I am having a rather weird issue with an image element and the figure / figure caption tag.
The image is being outputted correctly, but the figuretags are outputted as text / entities
<p><div class="csc-textpic csc-textpic-right csc-textpic-above"><div class="csc-textpic-imagewrap"><figure class="csc-textpic-image csc-textpic-last"><img src="fileadmin/billeder/forenkling-side.jpg <http://localhost/asbjorn/fileadmin/billeder/forenkling-side.jpg>" width="270" height="191" alt="" /><figcaption class="csc-textpic-caption">ssssss</figcaption></figure></div></div></p> Which gives me this in the FE:
<figure class="csc-textpic-image csc-textpic-last"><figcaption class="csc-textpic-caption">ssssss</figcaption></figure>
I have this to remove some unwanted HTML
#Disable bodytext class
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class =
lib.parseFunc_RTE.externalBlocks = h2,h3,h4
lib.parseFunc_RTE.externalBlocks.h2.stripNL = 1
tt_content {
stdWrap.prefixComment >
stdWrap.dataWrap >
stdWrap.innerWrap.cObject >
stdWrap.innerWrap2 >
}
lib {
parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
stdheader {
1.headerClass >
2.headerClass >
3.headerClass >
stdWrap {
dataWrap >
prefixComment >
}
10.stdWrap.wrap >
}
}
And my Config
##################################
# CONFIGURATION #
##################################
config {
doctype = html5
xhtml_cleaning = all
disablePrefixComment = 1
disableImgBorderAttr = 1
inlineStyle2TempFile = 1
pageTitleFirst = 1
removeDefaultJS = 1
removeDefaultCss = 1
simulateStaticDocuments = 0
baseUrl = http://www.domain.com
tx_realurl_enable = 0
}
But I am not sure whether this might have something to do with it.
/Morten Hagh
More information about the TYPO3-english
mailing list