Description

A FullSearch macro gives a traceback when requested to be formatted in text/plain.

Example

http://moinmoin.wikiwikiweb.de/MoinMoinBugs?action=format&mimetype=text/plain

Details

This Wiki.

Workaround

Replace the call to open('div') with a call to formatter.rawHTML('<div>')

Discussion

We should fix the code now to use formatter.rawHTML calls, and not call private formatter calls like open.

Later we should add a new call to the formatter, something like 'part(on, **attributes)`, that will be use to create divs in html and may be used by other formatters to change the output.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/SearchCannotRenderInPlaintext (last edited 2007-10-29 19:11:41 by localhost)