Actions
Bug #94628
closedck_editor transforms carriage returns to <p></p> in the Frontend
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"> </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> </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> </p><p class="text-center"> </p><p> </p><p class="text-center"><a href="....pdf" title="Initiates file download" target="_blank" class="download">Anfahrtskarte</a></p><p> </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