Project

General

Profile

Actions

Bug #78705

closed

RTE converts spaces into nbsp before/after ul, ol in table cells

Added by Piotr Łojewski about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2016-11-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When I've got code like this:

<table><tr><td><ul><li>Item</li><li>Item</li><li>Item</li></ul></td></tr></table>

it works fine until I switch to HTML or disable rte at all and add spaces before and after ul, ol (or it is added by TinyMCE when is enabled):

<table><tr><td> <ul><li>Item</li><li>Item</li><li>Item</li></ul> </td></tr></table>

it converts in FE into code like this:

<table>
  <tr>
      <td>
         &nbsp;
         <ul>
            <li>Item</li>
            <li>Item</li>
            <li>Item</li>
         </ul>
         &nbsp;
      </td>
   </tr>
</table>

Have you got any idea please?

This works the same in 7.6.


Files

nbsp_in_table.PNG (12.5 KB) nbsp_in_table.PNG Joe Jones, 2018-04-12 11:19
Actions

Also available in: Atom PDF