Project

General

Profile

Actions

Bug #68561

closed

rtehtmlarea: Plugin "DefaultInline" fails to transform em tag properly

Added by Johannes no-lastname-given over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2015-07-27
Due date:
% Done:

0%

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

Description

The RTE plugin "DefaultInline" does not respect global HTML properties inside the (pre-Gecko-1.9.3) transformation of em tags. Specifically the em tag must not contain the "b" character inside its attribute names or values.

This bug applies to TYPO3 6.2-7.0.

The attached file contains a fix against TYPO3 6.2.

-- Steps to reproduce

Feed the DefaultInline::transformContent method with the following argument: <em class="contains-a-b-character">some text</em>

-- Actual result

The transformation returns: <em class="contains-a-b-character">some text</i>

-- Expected result

The transformation returns: <i class="contains-a-b-character">some text</i>


Files

FIX-rtehtmlarea-em-transformation.6.2.patch (777 Bytes) FIX-rtehtmlarea-em-transformation.6.2.patch TYPO3 6.2 fix for aforementioned bug Johannes no-lastname-given, 2015-07-27 19:35
Actions #1

Updated by Johannes no-lastname-given over 8 years ago

For the bug to occur the RTE client setting 'browser' must be set to 'gecko'.

The visible result for a backend user using a Firefox browser is invalid, garbled HTML in the RTE of the TCE form.
If that garbled content is saved, it overwrites a previously valid HTML content. This will render the invalid HTML visible in the frontend as well.

Actions #2

Updated by Alexander Opitz over 8 years ago

  • Assignee set to Stanislas Rolland
  • Target version changed from 6.2.14 to 6.2.15
Actions #3

Updated by Alexander Opitz over 8 years ago

  • Status changed from New to Needs Feedback
  • Target version changed from 6.2.15 to 6.2.16

Hi Johannes,

as you provided a patch, can you bring this to Gerrit? For help take a look to http://wiki.typo3.org/CWT

Actions #4

Updated by Wouter Wolters over 8 years ago

Any update here?

Actions #5

Updated by Alexander Opitz about 8 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Stanislas Rolland)
  • Target version deleted (6.2.16)

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF