Project

General

Profile

Actions

Bug #35370

closed

Table Wizard adds "<br />" to last cell of each row

Added by Christoph Buchli over 12 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2012-03-29
Due date:
% Done:

100%

Estimated time:
0.00 h
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

When opening a Table in the wizzard, the rows are exploded by LF.
If you have entered the table configuration manually, then it's pretty likely that each row ends with CRLF.

This results in having a New Line (caused by the "CR") at the end of the last cell of every row, witch is transformed into a <br /> during saving since there, LFs as well as CRs are replaced.


Files

35370.diff (446 Bytes) 35370.diff Christoph Buchli, 2012-03-29 16:15
Actions #1

Updated by Christoph Buchli over 12 years ago

The attached Patch solves the issue by replacing each CRLF with a LF before exploding the bodytext by LF.

Actions #2

Updated by Georg Ringer over 12 years ago

  • Subject changed from Table Wizzard adds "<br />" to last cell of each row to Table Wizard adds "<br />" to last cell of each row
Actions #3

Updated by Wouter Wolters almost 10 years ago

  • Status changed from New to Needs Feedback
  • Is Regression set to No

Hi,

as this issue is very old. Is this feature missing in newer versions of TYPO3 CMS (6.2.9)?

Actions #4

Updated by Riccardo De Contardi almost 10 years ago

The problem seems solved in TYPO3 CMS 6.2.9;

I've performed this test using Chrome on Windows 7:

1. create a new TABLE element
2. Inside textarea I added some lines typing them manually like

prova|prova|prova|prova

And after each line I hit CR to begin a new line.
Result: no <br> in the last cell
Even adding new empty lines, like:
prova|prova|prova|prova
test|test|test|test

test|test|test|test

test|test|test|test


Adds a row of cells with &nbsp; as cell content

Actions #5

Updated by Wouter Wolters almost 10 years ago

  • Status changed from Needs Feedback to Closed

Thanks for the feedback. Closed.

Actions

Also available in: Atom PDF