mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-05 08:40:13 -04:00
DOCX Input: Fix extra border for text that has no border style specified
This commit is contained in:
parent
6d03706aa3
commit
8e864305f3
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user