Bug #22661
closed
bodytext wraping breaks code
Added by Lord of over 14 years ago.
Updated about 11 years ago.
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)
I think this is a configuration issue and no bug.
Please use the mailing lists for that kind of issue!
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 :)
What is your argument that this is no configuration issue?
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.
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
- 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)?
- Status changed from New to Needs Feedback
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback for over 90 days.
Also available in: Atom
PDF