# HG changeset patch # User Paul Boddie # Date 1339874679 -7200 # Node ID 75836226b403f5e8c2eaad925b82148309c5bb2b # Parent ee8fab4cdd2c59090260589ec437dcf8245fa355 Fixed handling of name-only final attributes. diff -r ee8fab4cdd2c -r 75836226b403 MoinSupport.py --- a/MoinSupport.py Mon Jun 04 21:08:54 2012 +0200 +++ b/MoinSupport.py Sat Jun 16 21:24:39 2012 +0200 @@ -97,6 +97,11 @@ name = None need_value = False + # Handle any name-only attributes at the end of the collection. + + if name and not need_value: + attrs[name.lower()] = escape and "true" or True + return attrs def strip_token(token):