Index: relatorio/templates/opendocument.py
===================================================================
--- relatorio/templates/opendocument.py (revision 50:569a1565f65c)
+++ relatorio/templates/opendocument.py (revision 53:b5e24837a3ba)
@@ -36,5 +36,5 @@
 from genshi.template import MarkupTemplate
 
-GENSHI_EXPR = re.compile(r'''((/)?(for|choose|otherwise|when|if|with) *( (\w+)=["'](.*)["']|$)|.*)''')
+GENSHI_EXPR = re.compile(r'''((/)?(for|choose|otherwise|when|if|with)\s*(\s(\w+)=["'](.*)["']|$)|.*)''')
 EXTENSIONS = {'image/png': 'png',
               'image/jpeg': 'jpg',
