Index: rst.py
===================================================================
RCS file: /cvs/TPS/moin/MoinMoin/parser/rst.py,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 rst.py
--- rst.py      16 Sep 2006 20:31:36 -0000      1.1.1.4
+++ rst.py      16 Nov 2006 00:37:38 -0000
@@ -586,11 +586,10 @@
                 content_offset, block_text, state, state_machine):
         # content contains macro to be called
         if len(content):
+            macro = " ".join( content )
             # Allow either with or without brackets
-            if content[0].startswith('[['):
-                macro = content[0]
-            else:
-                macro = '[[%s]]' % content[0]
+            if not content[0].startswith('[['):
+                macro = '[[%s]]' % macro
             ref = reference(macro, refuri = macro)
             ref['name'] = macro
             return [ref]
