Project

General

Profile

Actions

Bug #22661

closed

bodytext wraping breaks code

Added by Lord of over 14 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-05-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22885: paragraph line wrappingClosed2010-06-15

Actions
Actions

Also available in: Atom PDF