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 #1

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!

Actions #2

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 :)

Actions #3

Updated by Chris topher over 14 years ago

What is your argument that this is no configuration issue?

Actions #4

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.

Actions #5

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

Actions #6

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)?

Actions #7

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
Actions #8

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.

Actions

Also available in: Atom PDF