Project

General

Profile

Actions

Feature #25084

closed

Content rendering: Table cell content always wrapped in paragraphs

Added by Christian Hennecke about 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-18
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

By default, the content of table cells is always wrapped in paragraph tags when rendered in the frontend even if no paragraphs are entered in the RTE.

< td >example< /td >

is rendered as

< td >< p >example< /p >< /td >

It would be nice if the default could be changed as it leads to bloated page and requires special additional CSS treatment for paragraphs in cells.

Currently, a suitable solution seems to be adding

lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default >
lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default.stdWrap.parseFunc =< lib.parseFunc

to the setup field of the TS template.
(issue imported from #M17649)


Files

Actions

Also available in: Atom PDF