[TYPO3-templavoila] Strange duplicate HTML output for RECORD content - Resolved
Denyer
denyerec at gmail.com
Sun May 29 16:12:31 CEST 2011
This has been resolved, it was a twofold issue.
First, injecting CONTENT objects into <span> elements will break HTML due
to <div class="csc-default"> being wrapped around the injected content.
THEN If you then couple this with HTML Tidy (Doh...), Tidy will then
reformat the broken markup according to its own rules.
To avoid this, if injecting HTML content into non block level HTML
elements, ensure you do the following:
temp.10 = CONTENT
temp.10 {
table = tt_content
select {
pidInList = 45
uidInList = 37
}
### THIS IS THE IMPORTANT BIT ###
renderObj.stdWrap.innerWrap.cObject.default >
#################################
}
That will prevent the csc div from being generated around your injected
content.
Doh.
Denyer
More information about the TYPO3-project-templavoila
mailing list