Project

General

Profile

Actions

Bug #95394

closed

Multiple images with link ,inside one p tag in RTE ckeditor is not parsed correctly

Added by Kasim Sabah M S about 3 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2021-09-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In typo3 version 10.4.19 , multiple images with link inside one p tag ,in RTE ckeditor is not parsed correctly in Front end view , when we use <f:format.html> in Fluid.


View in CK Editor in the TYPO3 backend

<p>test content<br />
<br />
<a href="google.com"><img alt="" data-alt-override="true" data-htmlarea-file-table="sys_file" data-htmlarea-file-uid="290" data-title-override="true" height="75" src="/fileadmin/_processed_/f/5/csm_1-Chrysanthemum_075b072e35.jpg" title="" width="100" /></a> <a href="google.com"><img alt="" data-alt-override="true" data-htmlarea-file-table="sys_file" data-htmlarea-file-uid="2010" data-title-override="true" height="81" src="/fileadmin/_processed_/3/b/csm_baby_d597b7b74f.png" title="" width="100" /></a> <a href="google.com"><img alt="" data-alt-override="true" data-htmlarea-file-table="sys_file" data-htmlarea-file-uid="290" data-title-override="true" height="75" src="/fileadmin/_processed_/f/5/csm_1-Chrysanthemum_075b072e35.jpg" title="" width="100" /></a></p>

Current result

<p>test content<br><br><a href="http://google.com&quot; target="_blank" rel="noreferrer"></a></p>
<p><img alt height="75" src="/fileadmin/_processed_/f/5/csm_1-Chrysanthemum_075b072e35.jpg" title="test cl" width="100"></p>
 <a href="http://google.com&quot; target="_blank" rel="noreferrer"><p><img alt height="81" src="/fileadmin/_processed_/3/b/csm_baby_f8bcd333b9.png" title width="99"></p>
</a> <a href="http://google.com&quot; target="_blank" rel="noreferrer"><p><img alt height="75" src="/fileadmin/_processed_/f/5/csm_1-Chrysanthemum_075b072e35.jpg" title="test cl" width="100"></p></a>

Expected Result:
<p>test content<br />
<br />
<a href="google.com"><img alt="" data-alt-override="true" data-htmlarea-file-table="sys_file" data-htmlarea-file-uid="290" data-title-override="true" height="75" src="/fileadmin/_processed_/f/5/csm_1-Chrysanthemum_075b072e35.jpg" title="" width="100" /></a> <a href="google.com"><img alt="" data-alt-override="true" data-htmlarea-file-table="sys_file" data-htmlarea-file-uid="2010" data-title-override="true" height="81" src="/fileadmin/_processed_/3/b/csm_baby_d597b7b74f.png" title="" width="100" /></a> <a href="google.com"><img alt="" data-alt-override="true" data-htmlarea-file-table="sys_file" data-htmlarea-file-uid="290" data-title-override="true" height="75" src="/fileadmin/_processed_/f/5/csm_1-Chrysanthemum_075b072e35.jpg" title="" width="100" /></a></p>

Please Refer the screeshot too


Files

Backend Ckeditor view.png (64.1 KB) Backend Ckeditor view.png Kasim Sabah M S, 2021-09-29 07:46
Current Result In Front End.png (73.7 KB) Current Result In Front End.png Kasim Sabah M S, 2021-09-29 07:46
Expected Result in Front End.png (49.7 KB) Expected Result in Front End.png Kasim Sabah M S, 2021-09-29 07:46
Actions

Also available in: Atom PDF