Project

General

Profile

Actions

Bug #21749

closed

Inserting <hr /> using an RTE leads to validation error

Added by Bernhard Kraft over 14 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-11-30
Due date:
% Done:

0%

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

Description

When an <hr /> gets inserted into and RTE field (using either rtehtmlare or tinyMCErte) the <hr /> tag will be encapsulated into the common "p" tags. According to the HTML standard <hr /> tags are not allowed inside "p" tags.

This can AFAIK not get disabled by any configuration options.

The attached patch fixes the problem only for tinyMCErte.

(issue imported from #M12851)


Files

fix_hr_tags_RTE.diff (16.3 KB) fix_hr_tags_RTE.diff Administrator Admin, 2009-11-30 15:05

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #20130: FE kills external links after a <hr /> in one CEClosedStanislas Rolland2009-03-05

Actions
Is duplicate of TYPO3 Core - Bug #17433: Inserting a divider (<hr>) on the RTE breaks XHTML validationClosedStanislas Rolland2007-07-04

Actions
Actions

Also available in: Atom PDF