Project

General

Profile

Actions

Bug #83795

closed

&nbsp; in the tables with <ol> or <ul>

Added by Sascha Bucher Bucher about 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2018-02-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
frontendrendering rte ckeditor
Complexity:
Is Regression:
Sprint Focus:

Description

If you insert a table in the RTE-field and use just a list inside a table cell (<ol> or <ul>) inside a table cell there will in the frontend output alway a &nbsp; included before and after the list. This &nbsp; does not exist in the backend if you switch to code view but in the frontend. This moves the list always one line down in the table so it is not anymore on the same hight as the table row bevor or after.

This is to output in the frontend with this strange  :

<table class="contenttable">
  <tbody>
    <tr>
      <td>
        <p>List</p>
      </td>
      <td>
         &nbsp;
        <ol> 
          <li>Item 1</li>
          <li>Item 2</li>
          <li>Item 3</li>
        </ol>
        &nbsp;
      </td>
    </tr>
  </tbody>
</table>

PS: If you insert a table in the RTE-field which provides the extension news. This problem does not happen. So I guess news uses an other rendering method for the RTE-fields.


Files

Table.png (37.2 KB) Table.png Sascha Bucher Bucher, 2018-02-07 09:18
cattura2.png (273 KB) cattura2.png Riccardo De Contardi, 2020-03-11 23:11

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #86819: Since 8.7.20 (#83795) all <p>&nbsp;</p> are converted to <p></p>Closed2018-11-01

Actions
Actions

Also available in: Atom PDF