Show
Ignore:
Timestamp:
08/11/08 11:05:32 (5 years ago)
Author:
Nicolas ?vrard <nicoe@…>
Branch:
default
Message:

Modified the REGEXP used to find GENSHI-like python tags in the odf plugin

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • relatorio/templates/opendocument.py

    r46 r47  
    3636from genshi.template import MarkupTemplate 
    3737 
    38 GENSHI_EXPR = re.compile(r'''((/)?(for|choose|otherwise|when|if|with)( (\w+)=["'](.*)["']|)|.*)''') 
     38GENSHI_EXPR = re.compile(r'''((/)?(for|choose|otherwise|when|if|with) *((\w+)=["'](.*)["']|$)|.*)''') 
    3939EXTENSIONS = {'image/png': 'png', 
    4040              'image/jpeg': 'jpg',