Project

General

Profile

Actions

Feature #15532

closed

remove class="bodytext"

Added by old_lab almost 19 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2006-01-29
Due date:
% Done:

0%

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

Description

Every paragraph is classed with <p class="bodytext">.

This is useless and bad practice. For new TYPO3 installations it should not added - jus a <p> is enought.

It should be in the update wizard in the install tool to make it possible to keep the class="bodytext" for compatibility reasons.
(issue imported from #M2434)

Actions #1

Updated by Florian Engerer over 18 years ago

A least you can get rid of that class by adding the following line to the Setup TS in the template:

lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P >

Sure you will know that already, but perhaps someone else finds this note usefull.

Actions #2

Updated by Dmitry Dulepov over 18 years ago

NO! This is heavily used. DO NOT remove, it will break compatibility for many sites out there!

Specifing classes for P elements is GOOD practice. Read CSS Zen Garden at least...

Actions #3

Updated by Ingmar Schlecht over 18 years ago

This is a topic for discussion and not a bug.

Please discuss this in the Content Rendering newsgroup on lists.netfielders.de.

cheers
Ingmar

Actions

Also available in: Atom PDF