Bug #22661
closedbodytext wraping breaks code
0%
Description
Using Typo3 4.3.3.
When rendering a text object the engine wraps the lines with <p class="bodytext"></p>
The problem is that if I have a container for the whole object, let's say
<div class="cont"><h3>heading</h3>
<ul><li>item</li>...</ul>
</div>
it wraps it like this:
<p class="bodytext"><div class=cont><h3>heading</h3></p>
<ul><li>item</li>...</ul>
<p class="bodytext"></div></p>
which is obviously wrong.
As a workaround I tried adding in the begining of the typoscript the following lines:
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes >
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class =
lib.stdheader.stdWrap.dataWrap >
lib.stdheader.3.headerClass >
tt_content.stdWrap.dataWrap >
with no success (the p is still there)
(issue imported from #M14399)
Updated by Chris topher over 14 years ago
I think this is a configuration issue and no bug.
Please use the mailing lists for that kind of issue!
Updated by Lord of over 14 years ago
It is not a configuration issue, it wraps like this: <p><div></p>...<p></div></p>
Please check also bug 0014731 I have been more explicit there.
And yes, I'm sorry I posted the same bug twice if you could join them please :)
Updated by Chris topher over 14 years ago
What is your argument that this is no configuration issue?
Updated by Chris topher over 14 years ago
Spontaneously there are at least two simple solutions: Allow div-tags outside of p tags or wrap the whole CE in the <div> usingTypoScript and everything is fine.
Updated by Lord of over 14 years ago
My argument is that it encapsulates like this: <par><div></par><par></div></par>
and instead it should be something like <par><div></div></par>
Please replace par with p, the editor doesn't allow these tags
Updated by Alexander Opitz over 11 years ago
- Target version deleted (
0) - TYPO3 Version set to 4.3
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback for over 90 days.