1.1 --- a/ImprovedTableParser.py Sun Dec 20 00:06:00 2015 +0100
1.2 +++ b/ImprovedTableParser.py Sun Feb 16 22:37:05 2020 +0100
1.3 @@ -2,7 +2,7 @@
1.4 """
1.5 MoinMoin - ImprovedTableParser library
1.6
1.7 - @copyright: 2012, 2013, 2015 by Paul Boddie <paul@boddie.org.uk>
1.8 + @copyright: 2012, 2013, 2015, 2020 by Paul Boddie <paul@boddie.org.uk>
1.9 @license: GNU GPL (v2 or later), see COPYING.txt for details.
1.10 """
1.11
1.12 @@ -10,7 +10,7 @@
1.13 from MoinSupport import *
1.14 import re
1.15
1.16 -__version__ = "0.2.1"
1.17 +__version__ = "0.2.2"
1.18
1.19 # Regular expressions.
1.20
1.21 @@ -669,6 +669,12 @@
1.22 if column_attrs.has_key("rowcontinuation"):
1.23 del column_attrs["rowcontinuation"]
1.24
1.25 + # Convert attributes for formatting.
1.26 +
1.27 + for key, value in column_attrs.items():
1.28 + if isinstance(value, bool):
1.29 + column_attrs[key] = value and "true" or "false"
1.30 +
1.31 write(fmt.table_cell(1, column_attrs))
1.32
1.33 if sortable_heading: