Bug #88249
closed
Curious <P>-Tags on <BR /> when rendering to frontend
Added by Walter Sparding over 5 years ago.
Updated over 5 years ago.
Category:
RTE (rtehtmlarea + ckeditor)
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....
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?
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.
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?
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.
:((
- 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.
Also available in: Atom
PDF