From 64a1b2a3715834266149594bd031b490f30037f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 29 Dec 2013 23:05:11 +0100 Subject: [PATCH] addon: disable blank paragraph check (#3960) --- addon/Tabellio.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addon/Tabellio.py b/addon/Tabellio.py index d5bac3c..7ad7dee 100644 --- a/addon/Tabellio.py +++ b/addon/Tabellio.py @@ -1087,7 +1087,10 @@ def check_structure(doc): cursor.gotoEndOfParagraph(True) s = cursor.String.replace(' ', '').replace('\t', '').replace(u'\xa0', '') if cursor.String and s == '': # paragraph filled with nothing but spaces - error = StructureError('paragraph-filled-with-nothing-but-spaces') + #error = StructureError('paragraph-filled-with-nothing-but-spaces') + # do not mark this as an error, they will be ignored automatically + # by odf2legi + pass if error: view_cursor.gotoRange(cursor, False)