forked from LiveCarta/BookConverter
epub converter: bug fix
- remove adding border 0 in td -save links while headings removal
This commit is contained in:
@@ -59,9 +59,7 @@ def str2color_name(s: str):
|
||||
elif '#' in s:
|
||||
name = get_hex_color_name(s)
|
||||
if (name == 'white') and (s.lower() not in ['#ffffff', '#fff']):
|
||||
return 'gray'
|
||||
if name == 'grey':
|
||||
return 'gray'
|
||||
name = 'gray'
|
||||
|
||||
return name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user