changeset 345:c954897d7ac4

wiki parser: fix table attribute markup parsing imported from: moin--main--1.5--patch-349
author Thomas Waldmann <tw@waldmann-edv.de>
date Wed, 28 Dec 2005 23:52:51 +0000
parents 3be1612afcba
children bcc168855115
files MoinMoin/parser/wiki.py docs/CHANGES
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/wiki.py	Tue Dec 27 23:09:56 2005 +0000
+++ b/MoinMoin/parser/wiki.py	Wed Dec 28 23:52:51 2005 +0000
@@ -672,6 +672,10 @@
                         'arg': arg, 'key': key}
                 else:
                     attrs['bgcolor'] = '"#%s"' % arg
+            elif key == '=':
+                arg = parser.get_token()
+                this_key = attrdef.split('=')[0]
+                attrs[this_key] = arg
             else:
                 msg = ""
             #print "key: %s\nattrs: %s" % (key, str(attrs))
--- a/docs/CHANGES	Tue Dec 27 23:09:56 2005 +0000
+++ b/docs/CHANGES	Wed Dec 28 23:52:51 2005 +0000
@@ -1,6 +1,11 @@
 MoinMoin Version History
 ========================
 
+Version 1.5.0current:
+  Fixes:
+    * Fix <x=y> table attributes parsing. Thanks to Reimar Bauer.
+
+
 Version 1.5.0rc1:
   This is the first release candidate of MoinMoin 1.5.0.