Description
Conversion error when attempting to preview source from gui editor ConvertError ExpatError: mismatched tag: line 390, column 155
Steps to reproduce
- Click on Edit(GUI)
- Click on the Source button
- Click on preview
Details
This Wiki.
Browser effected:
- Internet Explorer 6.0.2800.1106IS on Windows 98 (reproduced 11-Nov-05)
- (similar error on) Internet Explorer 6.0.2900.2180 ... on Windows XP SP2
- Safari on Mac OS X 10.3.7
- Opera (Windows? version?)
- Can't reproduce with Firefox/Linux, nor with Opera9rc/Linux.
Workaround
Discussion
This bug was deleted, but I can still reproduce the problem.
(I've re-attached todays bug report. Do we really just delete pages when the bug is fixed? I would have guessed that it would have been moved to a "Fixed" or "can't reproduce" locattion.)
It happens when trying to access the GUI editor from Safari which is not supported by that editor. All the text is converted to html in side the simple editor, then the converter fail when trying to preview.
The correct behavior in this case is not to show the Edit(GUI) button on Safari, and showing an error when you try to access the gui editor url and the browser does not support the needed javascript.
- The bug is not that "source click preview is broken", but that it offers you the gui editor. This bug is known and described at another place. It is rather pointless trying to work with a broken thing and produce more bugs.
I can't get what you try to tell may be give some more details. Which moin version, which browser and please tell exactly what is broken -- ReimarBauer 2009-01-09 12:09:02
TBD: place link here to cross-reference the bug report to the bug report and documentation where Internet Explorer doesn't support GUI editing.
The problem is that the current HTML to moin transformer expects the browser to fixup weirdnesses in the formatter. See output.txt for the data that is submit by the browsers. First one is the HTML that has gone through the normal process and the second one was sent by IE after clicking preview (which yields an exception).
By having a quick look at it - the problem is obvious. Hint: count the <p>/</p> tags.
Dumb question: What is is source button doing there? And isn't it supposed to be removed before the release? -- FlorianFesti 2005-12-01 07:56:16
Plan
- Priority:
- Assigned to:
- Status: Cannot be reproduced on 1.8