Project

General

Profile

Actions

Bug #88249

closed

Curious <P>-Tags on <BR /> when rendering to frontend

Added by Walter Sparding about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2019-04-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi there,

in the CKEitor i've put in a text, which switched to source, looks like this:

<p><strong>Character and leadership.</strong><br />
Consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.<br />
XXXXXXXX<br />

But in frontent it wraps another p-tag arount the line with the <br />:

<br /></p><p>XXXXXXXX<br /></p><p>

So a line-break with no <P> is no more possible.

If it is a config-feature i can not find it anywhere.

So please take a look at it....

Actions #1

Updated by Riccardo De Contardi about 5 years ago

I am not able to reproduce this issue with TYPO3 9.5.5 (plain installation) and the "full" RTE configuration.

The code (source):

<p><strong>Character and leadership.</strong><br />
Consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.<br />
XXXXXXXX<br /></p>

Becomes:

<p><strong>Character and leadership.</strong><br /> Consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.<br /> XXXXXXXX</p>

So the only transformation is that the last <br> has been removed.

Are you using a custom configuration?

Actions #2

Updated by Walter Sparding about 5 years ago

Riccardo De Contardi wrote:

Are you using a custom configuration?

Thnx, yes, it was a custom config.
Then i disabled the custom preset and loaded the full preset.

The same things as described appear.

When i unset overruleMode (which seems to default to ts_css)
the tags are the way they should be.

Actions #3

Updated by Riccardo De Contardi about 5 years ago

So it is a page TSConfig setting (I mean, overruleMode) ?

My plain installation has no overruleMode set by default; where does it come from? Is it still a custom configuration you added?

Actions #4

Updated by Walter Sparding about 5 years ago

Riccardo De Contardi wrote:

So it is a page TSConfig setting (I mean, overruleMode) ?

My plain installation has no overruleMode set by default; where does it come from? Is it still a custom configuration you added?

OK, i've got it.
Someone hat he extension rtehtmlarea installed local. This put in the config.

Sorry. Sorry. Sorry. Sorry.

Please close this one.

:((

Actions #5

Updated by Riccardo De Contardi about 5 years ago

  • Status changed from New to Closed

@Walter Sparding no need to feel sorry; I thank you for your quick answers and I'm happy because you solved your problem.

Best regards.

Closed in agreement with the reporter.

Actions

Also available in: Atom PDF