Issue Bug Closed

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

Jose Antonio Guerra 07/04/07, 13:58 updated 10/02/18, 12:32

Description

If you insert an
into the RTE it renders inside

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.