Bug #24280

<span> lost while saving if it spans the whole paragraph

Added by Christian Boltz about 10 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-12-03
Due date:
% Done:

0%

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

Description

The text styling ("important", "detail", ...) that is available in the RTE is lost while saving the content.

Example:
<p><span class="important">some text</span></p> (HTML view of RTE after applying the formatting)
becomes just <p>some text</p> after saving

Interestingly this only happens when formatting the complete paragraph. Formatting a part of it works - <p><span class='important'>some</span> text</p> is not changed.

1. enter some text in the RTE
2. select a complete paragraph
3. select text style "important"
4. click the "save" icon
5. find out that the text lost the "important" formatting

(issue imported from #M16655)


Related issues

Related to TYPO3 Core - Bug #24349: RTE transformation removes all span tags on save after upgrade TYPO3 4.4.4 to 4.4.5ClosedStanislas Rolland2010-12-17

Actions
#1

Updated by Christian Boltz about 10 years ago

The bugtracker eats some HTML tags, therefore I post it again with square brackets instead of angle brackets:

[p][span class="important"]some text[/span][/p] (HTML view of RTE after applying the formatting)
becomes just [p]some text[/b] after saving - the [span] is lost.

Interestingly this only happens when formatting the complete paragraph. Formatting a part of it works, for example [p][span class='important']some[/span] text[/p]

#2

Updated by Martin about 10 years ago

In my case this happens with whole paragraphs and parts of it: http://bugs.typo3.org/view.php?id=16760

#3

Updated by Christian Boltz about 10 years ago

Good news: This bug is fixed in Typo3 4.5 beta3 :-) - probably as a side effect of the fix for bug 0016760.

Please close this bugreport as accidently ;-) fixed.

#4

Updated by Christian Kuhn about 10 years ago

Resolved, no change required.

Thanks for feedback.

#5

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF