mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 04:53:01 +02:00
...
This commit is contained in:
parent
8841a9201b
commit
8760b3cf71
1 changed files with 1 additions and 0 deletions
|
|
@ -173,6 +173,7 @@ def searchable_text_for_name(name):
|
|||
for child in serialized_data['tree']['c']:
|
||||
if child.get('n') == 'body':
|
||||
stack.append(child)
|
||||
# the JS code does not add the tail of body tags to flat text
|
||||
removed_tails.append((child.pop('l', None), child))
|
||||
ignore_text = {'script', 'style', 'title'}
|
||||
text_pos = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue