Bug #68561
closedrtehtmlarea: Plugin "DefaultInline" fails to transform em tag properly
0%
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
Updated by Johannes no-lastname-given almost 9 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.
Updated by Alexander Opitz almost 9 years ago
- Assignee set to Stanislas Rolland
- Target version changed from 6.2.14 to 6.2.15
Updated by Alexander Opitz almost 9 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
Updated by Alexander Opitz over 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.