Actions
Bug #17660
closedRTE incorrectly nests tags
Start date:
2007-10-09
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The Rich Text Editor incorrectly nests <p> tags inside <a> tags.
Steps to reproduce:- Open a new normal text field
- Set a simple link, e.g. to google; the code produced is
<a href="http://google.de">Google</a> - Now hit "Enter" at the front of the link; the code now is
<p></p><a href="http://google.de"><p>Google</p></a>
- This code is not correct HTML
- It breaks with tidy! Tidy fixes this to
<p></p><a href="http://google.de"></a><p>Google</p>
so the link is effectively lost.
This bug happens on Typo3 4.1.1 and 4.1.3-dev (updated two weeks ago, svn r2520)
(issue imported from #M6476)
Files
Updated by Stanislas Rolland about 17 years ago
I assume this is when using Firefox only.
Updated by Thomas Bleher about 17 years ago
Correct, IE does not exhibit this problem. The problem still seems to be with rtehtmlarea, however, as eg tinyRTE handles this case perfectly fine.
BTW: There seems to be a real bug in the bugtracker, as it doesn't escape < p > tags. Therefore the HTML-code in the bugreport is mangled.
Updated by Stanislas Rolland about 17 years ago
Attached patch for SVN TYPO3core, branch TYPO3_4-1 (currently TYPO 4.1.3)
Updated by Stanislas Rolland about 17 years ago
Fixed in SVN TYPO3core, branches trunk and TYPO3_4-1 (for inclusion in TYPO3 4.1.4)
Actions