Bug #88249
closedCurious <P>-Tags on <BR /> when rendering to frontend
0%
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....
Updated by Riccardo De Contardi over 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?
Updated by Walter Sparding over 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.
Updated by Riccardo De Contardi over 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?
Updated by Walter Sparding over 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.
:((
Updated by Riccardo De Contardi over 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.