Comment 1 for bug 462593

Revision history for this message
luca (llucax) wrote :

I thinks this is a better patch (because the moinmoin plug-in should select a format explicitly):

[------- CUT HERE ------]
=== modified file 'examples/moinmoin/aafig.py'
--- examples/moinmoin/aafig.py 2009-07-04 00:11:26 +0000
+++ examples/moinmoin/aafig.py 2009-10-28 15:22:46 +0000
@@ -44,7 +44,7 @@
         key = 'aafigure_%s' % (cache.key(self.request, itemname=self.pagename, content="%s%s" % (self.raw, self.args)),)
         if not cache.exists(self.request, key) or not cache.exists(self.request, key+'_size'):
             # not in cache, regenerate image
- options = {}
+ options = dict(format='svg')
             for arg in self.args.split():
                 try:
                     k, v = arg.split('=', 1)

[------- CUT HERE ------]

I don't have moinmoin to test it though, so if you can try it it will be appreciated. Chris, if this patch looks OK to you I can apply it.