# HG changeset patch # User Paul Boddie # Date 1331163835 -3600 # Node ID 28eec8c9acdd4834d8c877a1bc8cdba2d4c90b73 # Parent d748d8831b745da6903ea17372b3564fe9cd89e9 Fixed the extraction of numeric values from table cells. Imposed a specific alignment on list items in the column pop-up. Fixed a docstring describing the column specification format. diff -r d748d8831b74 -r 28eec8c9acdd ImprovedTableParser.py --- a/ImprovedTableParser.py Sat Feb 25 19:28:58 2012 +0100 +++ b/ImprovedTableParser.py Thu Mar 08 00:43:55 2012 +0100 @@ -403,7 +403,7 @@ """ Split the comma-separated string 's', extracting the column specifications - of the form ["n"] where the prefix "n" indicates an optional + of the form ["n"] where the suffix "n" indicates an optional numeric conversion for that column. Column indexes start from the specified 'start' value (defaulting to 0). """ @@ -459,7 +459,7 @@ """ if s: - return int(get_number(s)) + return int(get_number(to_plain_text(s, request))) else: return s diff -r d748d8831b74 -r 28eec8c9acdd css/improvedtableparser.css --- a/css/improvedtableparser.css Sat Feb 25 19:28:58 2012 +0100 +++ b/css/improvedtableparser.css Thu Mar 08 00:43:55 2012 +0100 @@ -45,6 +45,7 @@ .sortcolumns li { white-space: nowrap; padding-top: 4px; + text-align: justify; } .sortcolumns a {