Project

General

Profile

Actions

Bug #17433

closed

Inserting a divider (<hr>) on the RTE breaks XHTML validation

Added by Jose Antonio Guerra almost 17 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2007-07-04
Due date:
% Done:

0%

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

Description

If you insert an <hr> into the RTE it renders inside <p> tags, but that is not valid.

I've managed to configure it the right way using those TS Configuration:

(adding "hr" to "lib.parseFunc_RTE.externalBlocks")

lib.parseFunc_RTE.externalBlocks = table, blockquote, ol,ul, hr
lib.parseFunc_RTE.externalBlocks.hr.stripNL = 1

This should be included in the extension configuration, isn't it?

(issue imported from #M5896)


Files


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #24865: Standalone images in RTE-enabled field not rendered in frontendClosedStanislas Rolland2011-01-27

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

Actions
Has duplicate TYPO3 Core - Bug #21823: Horizontal Rulers in Richtext Editor unusable because of destroying following html outputClosedStanislas Rolland2009-12-08

Actions
Has duplicate TYPO3 Core - Bug #21749: Inserting <hr /> using an RTE leads to validation errorClosedStanislas Rolland2009-11-30

Actions
Actions

Also available in: Atom PDF