changeset 2622:c5e749f0c1f9

fix _wiki_macro incorrect call arguments
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 08 Jun 2014 15:26:09 +0200
parents 7cf4656667ba
children 5fd1c6bfe525
files MoinMoin/converter/_wiki_macro.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/_wiki_macro.py	Sun Jun 08 14:47:06 2014 +0200
+++ b/MoinMoin/converter/_wiki_macro.py	Sun Jun 08 15:26:09 2014 +0200
@@ -80,9 +80,9 @@
         if level:
             add_moin_xpointer(u'level', str(level))
         if titlesonly:
-            add_moin_xpointer(u'titlesonly')
+            add_moin_xpointer(u'titlesonly', u'')
         if editlink:
-            add_moin_xpointer(u'editlink')
+            add_moin_xpointer(u'editlink', u'')
 
         if xpointer_moin:
             xpointer.append(u'page:include({0})'.format(u' '.join(xpointer_moin)))