Bug #17015
closed"</col><//col>"keep duplicating each time I switch the view from WYSIWYG and text view
0%
Description
when using Typo3 from IE and I'm copying a table from excel to typo3 in a page, everything is doing fine, but not until I switch the view to html source view and then switch it back to WYSIWYG view and then get back to html source view...here I found "</col>/col>"keep duplicating in the end of "</col>" and after 6times switching the view I get "</col>/col></col>/col>>/>" and this will get duplicating each time I switch the view. I've tried using Fierefox and the result is quite different, when I'm copying the table, it run well until I save the page. after saving the whole block of <col></col> is not translated and keep showed as a text not as html tag, and sometimes(not everytime) it produce the same problem like in IE but just after I've saved the page
This problem occur in my default installation of typo 1.4.2 with RTE 1.3.7. i've tried to uprade the version of RTE in 1.4.2 and 1.4.3 and the problem still occur.
Do I have mistakes in RTE configuration or this is an unknown bug
(issue imported from #M5031)
Files
Updated by Oliver Hader over 17 years ago
I can reproduce this behaviour for custom tags using IE6. On IE7 and Firefox everything is okay.
Updated by Oliver Hader over 17 years ago
I tried to find out what's going on here:
The method HTMLArea.getHTMLWrapper in htmlarea.js processes the data of the RTE field. But the bug doesn't occur here. The bug is IMHO based on IE6.
When loading correct data with a user-tag like "<mytag>data</mytag>", an output of the JS object editor._doc.body.innerHTML shows "data</mytag>/mytag>" or "data<mytag></mytag>". So the node that should be inside was put to the outside by IE6.
There is also no chance to parse and fix the string, because you could have something like this "first second third</mytag>/mytag>". So, which words were inside?
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)