Bug #26815
closed
RTE transformation transforms LF/CR between div and hr into space
Added by Benno Kieselstein over 13 years ago.
Updated about 7 years ago.
Description
TYPO3 extension htmlArea RTE (rtehtmlarea) inserts unwanted linebreak between DIV and HR tag.
How to reproduce
- Create a new content element of type text with Rich-Text-Editor enabled.
- Paste the following HTML into the field bodytext using RTE source view (text mode):
<div>Some text</div>
<hr />
RTE source (text mode) after saving will read like this:
<div><p>Some text</p></div>
<p> </p>
<hr />
Version info:
- htmlArea RTE (rtehtmlarea) version: 2.1.6
- TYPO3 version: 4.5.2
Database entry after saving will read like this:
<div>Some text</div>
<hr />
- Status changed from New to Accepted
- Assignee set to Stanislas Rolland
Appears to be a RTE transformation issue. The LF/CR between the div and hr elements gets transformed into a space in the DB. Therefore, the space is wrapped in a paragraph on the way to the RTE.
- Subject changed from htmlArea inserts linebreak between DIV and HR tag to RTE transformation transforms LF/CR between div and hr into space
- Target version set to 4.5.5
Patch set 1 of change Iff9ce1adc94fdbcf62f3ab4ee25c6c8a3703fe19 has been pushed to the review server.
It is available at http://review.typo3.org/3861
Patch set 1 of change I35640f75263324b267898696a424f6b3ed5d3709 has been pushed to the review server.
It is available at http://review.typo3.org/3863
- Status changed from Accepted to Under Review
- Target version changed from 4.5.5 to 4.5.6
- Category changed from RTE (rtehtmlarea + ckeditor) to Miscellaneous
- Priority changed from Should have to Must have
- Target version changed from 4.5.6 to 4.5.8
- Target version changed from 4.5.8 to 4.5.12
- Target version changed from 4.5.12 to 1525
- PHP Version set to 5.3
- Status changed from Under Review to Resolved
- Target version changed from 1525 to 4.7.0-beta1
- Status changed from Resolved to Closed
Also available in: Atom
PDF