Project

General

Profile

Actions

Bug #94628

closed

ck_editor transforms carriage returns to <p></p> in the Frontend

Added by Peter Linzenkirchner over 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2021-07-23
Due date:
% Done:

0%

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

Description

Since the last update to 9.5.28 the frontend rendering of the ck_editor is broken.

This ist the html in the text field of the ck_editor in the backend:

<p class="text-center">Kirchner-Seminare, ...<br />
Telefon ...</p>

<p class="text-center">E-Mail an Seminarorganisation<br />
<a class="mail" href="mailto:..." title="E-Mail senden">info@domain.de</a></p>

<p class="text-center">&nbsp;</p>

<p class="text-center"><a class="download" href="t3://file?uid=543" title="Initiates file download">Anfahrtskarte</a></p>

In the frontend i get the following html:

<p class="text-center">Kirchner-Seminare, ...<br /></p><p>Telefon ...</p></p><p>&nbsp;</p><p><p class="text-center">E-Mail an Seminarorganisation<br /></p><p><a href="mailto:..." title="E-Mail senden" class="mail">info@domain.de</a></p></p><p>&nbsp;</p><p class="text-center">&nbsp;</p><p>&nbsp;</p><p class="text-center"><a href="....pdf" title="Initiates file download" target="_blank" class="download">Anfahrtskarte</a></p><p>&nbsp;</p>

It seems that every carriage return in the bodytext field is converted in <p></p> - an additional paragraph without the class which breaks the layout in the frontend.

Actions #1

Updated by Peter Linzenkirchner over 3 years ago

I found the reason for the problem: somebody installed the rte_htmlarea additional to the ck_editor. After deleting the rte_htmlarea the problem was gone. I presume that a automated version update via console triggered one of the update wizards in TYPO3 and installed the rte_htmlarea erroneously.

Sorry for the noise. Please close this ticket!

Actions #2

Updated by Riccardo De Contardi over 1 year ago

  • Status changed from New to Closed

Sorry for the so late reply and thank you for finding the time to reply to the ticket

Actions

Also available in: Atom PDF