Description

The docbook parser calls the "attachment" method of the (1.5) wiki parser that does not exist any more.

Steps to reproduce

  1. (should be reproduced by someone using docbook)

Component selection

                    # MoinMoin/parser/text_docbook.py:115
                    splitResult[index] = self.wikiParser.attachment(('attachment:' + imageSrc, ""))

Details

MoinMoin Version

1.6, 1.7

Discussion

I guess this could be better done by just calling the formatter (not the wiki parser). Something like:

                    splitResult[index] = formatter.attachment_image(wikiutil.url_unquote(url, want_unicode=True))

Similar changes maybe should be done at a few other places calling wikiParser.*.

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/1.6DocBookParserImageAttachmentsBroken (last edited 2008-03-14 18:30:17 by ThomasWaldmann)