Commit 1d9a4fca authored by Jérome Perrin's avatar Jérome Perrin

When the row is reapeated using table:number-rows-repeated and no_empty_lines

parameter is not False, break the loop if we don't the first row is empty.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20803 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7ec1e036
......@@ -469,6 +469,10 @@ class OOoParser(Implicit):
# Add the line to the table
if table_line != None:
table.append(table_line)
else:
# If the line is empty here, the repeated line will also be empty, so
# no need to loop.
break
# Reduce the table to the minimum
new_table = self._getReducedTable(table)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment