15 Mar
2007
15 Mar
'07
2:19 a.m.
I've been trying to fix MoinMoin's text_plain formatter to produce readable output. It's almost correct, except I don't understand why I can't get the LF-adding rules correct. Either there are too many LFs or too few. And whenever I change something, something else breaks.. It's getting pretty annoying.
So if anyone else wants to try getting it fixed that'd be great. :) Attached the current version that I have.
For testing you'll need your own MoinMoin installation. Then replace the included text_plain.py with the attached version. Then test it with for example:
http://localhost/wiki/SomePage?action=format;mimetype=text/plain