Description

Pages containing smileys can not be rendered as docbook.

Steps to reproduce

  1. Create a page with some text and a smiley. I used this:
    TestPage hier beschreiben... :-(
  2. In menu "More Actions" select "Render As Docbook".
  3. Now I get a page with the following error message:
    XML Parsing Error: mismatched tag. Expected: </body>.
    Location: http://foo.com:8080/TestPage?action=format&mimetype=xml/docbook
    Line Number 6, Column 11:
    
    </font> </font> </font> </script> </object> </blockquote> </pre>
    ----------^

    Interesting enough, the error message is always the same, same line and same column number, for every page containing a smiley.

Example

Just try with this page. Here is an evil smiley: :-)

Details

MoinMoin Version

1.5.2 [Revision release]

OS and Version

Microsoft Windows XP [Version 5.1.2600]

Python Version

2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)]

Server Setup

Built-in server

Server Details

Using PyXML 0.8.4 (Windows binaries downloaded from http://pyxml.sourceforge.net).

Workaround

?

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/SmileysBreakDocbookRendering (last edited 2007-10-29 19:20:31 by localhost)