Description
if you copy the content of the html rendered page http://moinmo.in/MoinMoinBugs/1.8_GUIEditorDoesNotSupportScriptElement into a new gui editor page you get an expat error.
The same happens when you're using GUI editor in MoinMoin 1.9. It crashes and reports that mismatched tags were spotted.
Component selection
- general
Details
MoinMoin Version |
this wiki |
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
After reading the code, I found that the tag '<p>' in the initial text 'Describe page_xxx here' was not properly closed, and it was due to variable _auto_closing_tags on line 41, in formatter/text_html.py.
Therefore, changing
_auto_closing_tags = set(['p'])
to
_auto_closing_tags = set(['nonexist_tag'])
solved this issue.
Discussion
Plan
- Priority:
- Assigned to:
- Status: