Project

General

Profile

Actions

Bug #14738

closed

hardcoded <p> tags inside table cels

Added by Pieter almost 19 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-05-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0rc1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

All content inside a tabel is embedded in <p> tags. If the content of the table cel starts with <div ...>, that first div is replaced with a <p ...> .
It's not possible to have clean HTML output.

This code inside an editor (RTE of htmlarea RTE or RTE disabled):
<table cellspacing="10" cellpadding="1" border="0" >
<tbody>
<tr>
<td>
<div style="text-align: center;"><span style="font-weight:bold;">VOOR</span><br/>
</div>
<div style="text-align: center;">
</div>
</td>
</tr>
</tbody>
</table>

results in this on the web page:
<table cellspacing="10" cellpadding="1" border="0" class="contenttable">
<tbody>
<tr >
<td >
<p style="text-align: center;"><span style="font-weight: bold;">VOOR</span><br/>
</div>
<div style="text-align: center;"></p>
</td>
</tr>
</tbody>
</table>

The first <div ...> is suddenly a <p ...>. A </p> is added at the end
of the table.

(issue imported from #M1081)


Files

2005-10-18_bugfix_1081.patch (866 Bytes) 2005-10-18_bugfix_1081.patch Administrator Admin, 2005-10-18 13:21

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #14190: CSS_Styled_Content: TABLE should be more configurableClosedSebastian Kurfuerst2004-06-01

Actions
Actions

Also available in: Atom PDF