Description

The current wiki parser only supports decimal entities like A but not A.

Steps to reproduce

Create a new wiki page (any name) with this content:

AA

and click on "Preview". Now, you should see a two "AA" but you get "AA"

Example

AA

gives: AA

Details

MoinMoin Version

1.3.x and 1.5

OS and Version

Any

Python Version

2.4

Server Setup

Any

Server Details

-

Workaround

To fix this, search for "ent_numeric" in parser/wiki.py and replace the regexp with this one: (?P<ent_numeric>&#(\d{1,5}|[xX][0-9a-zA-Z]{1,4});)

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/HexEntities (last edited 2007-10-29 19:09:10 by localhost)