Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Must have
Category:
Miscellaneous
Target version:
Start date:
2011-05-13
Due date:
% Done:

0%

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

Description

TYPO3 extension htmlArea RTE (rtehtmlarea) inserts unwanted linebreak between DIV and HR tag.

How to reproduce

  1. Create a new content element of type text with Rich-Text-Editor enabled.
  2. 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>&nbsp;</p>
    <hr />
    

Version info:

  • htmlArea RTE (rtehtmlarea) version: 2.1.6
  • TYPO3 version: 4.5.2
Actions #1

Updated by Benno Kieselstein over 13 years ago

Database entry after saving will read like this:

<div>Some text</div>

<hr  />
Actions #2

Updated by Stanislas Rolland over 13 years ago

  • 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.

Actions #3

Updated by Stanislas Rolland over 13 years ago

  • Subject changed from htmlArea inserts linebreak between DIV and HR tag to RTE transformation transforms LF/CR between div and hr into space
Actions #4

Updated by Stanislas Rolland over 13 years ago

  • Target version set to 4.5.5
Actions #5

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change Iff9ce1adc94fdbcf62f3ab4ee25c6c8a3703fe19 has been pushed to the review server.
It is available at http://review.typo3.org/3861

Actions #6

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change I35640f75263324b267898696a424f6b3ed5d3709 has been pushed to the review server.
It is available at http://review.typo3.org/3863

Actions #7

Updated by Stanislas Rolland over 13 years ago

  • Status changed from Accepted to Under Review
Actions #8

Updated by Oliver Hader over 13 years ago

  • Target version changed from 4.5.5 to 4.5.6
Actions #9

Updated by Stanislas Rolland about 13 years ago

  • Category changed from RTE (rtehtmlarea + ckeditor) to Miscellaneous
Actions #10

Updated by Stanislas Rolland about 13 years ago

  • Priority changed from Should have to Must have
Actions #11

Updated by Chris topher about 13 years ago

  • Target version changed from 4.5.6 to 4.5.8
Actions #12

Updated by Gerrit Code Review almost 13 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/3861

Actions #13

Updated by Gerrit Code Review almost 13 years ago

Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/3863

Actions #14

Updated by Ernesto Baschny almost 13 years ago

  • Target version changed from 4.5.8 to 4.5.12
Actions #15

Updated by Stanislas Rolland almost 13 years ago

  • Target version changed from 4.5.12 to 1525
  • PHP Version set to 5.3
Actions #16

Updated by Stanislas Rolland almost 13 years ago

  • Status changed from Under Review to Resolved

Fixed in 4.7.0.

Actions #17

Updated by Steffen Ritter almost 13 years ago

  • Target version changed from 1525 to 4.7.0-beta1
Actions #18

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF