changeset 5457:7972c33eda0d

creole parser: fix AttributeError
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 18 Jan 2010 01:52:36 +0100
parents 3b36b874b960
children 93fbb0418225
files MoinMoin/parser/text_creole.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/text_creole.py	Mon Jan 18 01:24:29 2010 +0100
+++ b/MoinMoin/parser/text_creole.py	Mon Jan 18 01:52:36 2010 +0100
@@ -323,7 +323,7 @@
     def image_emit(self, node):
         target = node.content
         text = self.get_text(node)
-        m = self.addr_re.match(target)
+        m = self.rules.addr_re.match(target)
         if m:
             if m.group('page_name'):
                 # inserted anchors