terminate table row, if multiple present

This commit is contained in:
Elan Ruusamäe 2012-09-16 19:46:24 +02:00
parent 51aedb19c3
commit a8d4d3b191

View file

@ -179,7 +179,7 @@ class Formatter(FormatterBase):
return ''
def table_row(self, on, attrs={}, **kw):
return ['', '|'][not on]
return ['\n', '|'][not on]
def table_cell(self, on, attrs={}, **kw):
return ['|', ''][not on]