2013-03-06 | Paul Boddie | raw files shortlog changelog graph | Attempted to avoid indentation issues by stripping table cell text. | |
wikiparser.py (file) |
1.1 --- a/wikiparser.py Sun Mar 03 00:42:13 2013 +0100 1.2 +++ b/wikiparser.py Wed Mar 06 00:15:45 2013 +0100 1.3 @@ -251,7 +251,7 @@ 1.4 1.5 "Using 'cellsep', translate the cell 'text'." 1.6 1.7 - return cellextra[cellsep] + parse_text(text) + cellextra[cellsep] 1.8 + return cellextra[cellsep] + parse_text(text).strip() + cellextra[cellsep] 1.9 1.10 def translate_content_match(match): 1.11