From 8e864305f363960a2c10ccf1f4c22bd5c34045c1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 31 Mar 2015 17:33:21 +0530 Subject: [PATCH] DOCX Input: Fix extra border for text that has no border style specified --- src/calibre/ebooks/docx/char_styles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/docx/char_styles.py b/src/calibre/ebooks/docx/char_styles.py index 655f3c1b42..01b23a500a 100644 --- a/src/calibre/ebooks/docx/char_styles.py +++ b/src/calibre/ebooks/docx/char_styles.py @@ -17,7 +17,7 @@ def read_text_border(parent, dest): elems = XPath('./w:bdr')(parent) if elems and elems[0].attrib: border_color = simple_color('auto') - border_style = 'solid' + border_style = 'none' border_width = 1 for elem in elems: color = get(elem, 'w:color')