MoinSupport.py | raw changeset files shortlog |
1.1 --- a/MoinSupport.py Mon Jun 04 21:08:54 2012 +0200 1.2 +++ b/MoinSupport.py Sat Jun 16 21:24:39 2012 +0200 1.3 @@ -97,6 +97,11 @@ 1.4 name = None 1.5 need_value = False 1.6 1.7 + # Handle any name-only attributes at the end of the collection. 1.8 + 1.9 + if name and not need_value: 1.10 + attrs[name.lower()] = escape and "true" or True 1.11 + 1.12 return attrs 1.13 1.14 def strip_token(token):