mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
10108a8772
commit
6f07157a6c
@ -106,7 +106,7 @@ def has_only_blocks(x):
|
||||
if x.text and not isspace(x.text):
|
||||
return False
|
||||
for child in x:
|
||||
if not isblock(child) or (child.tail and isspace(child.tail)):
|
||||
if not isblock(child) or (child.tail and not isspace(child.tail)):
|
||||
return False
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user