[Dovecot] wiki -> txt
Timo Sirainen
tss at iki.fi
Thu Mar 15 02:19:43 EET 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: text_plain.py
Type: text/x-python
Size: 11268 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20070315/b8c75cc4/attachment.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070315/b8c75cc4/attachment.pgp
More information about the dovecot
mailing list