mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
33a8d70a93
commit
2986d2fec0
@ -409,7 +409,8 @@ def text_from_serialized_html(data, get_anchor_offset_map):
|
|||||||
tag_map = serialized_data.tag_map
|
tag_map = serialized_data.tag_map
|
||||||
ans = v'[]'
|
ans = v'[]'
|
||||||
no_visit = {'script': True, 'style': True, 'title': True, 'head': True}
|
no_visit = {'script': True, 'style': True, 'title': True, 'head': True}
|
||||||
ignore_text = {'img': True, 'math': True, 'rt': true, 'rp': True, 'rtc': True}
|
ignore_text = {'img': True, 'math': True, 'rt': True, 'rp': True, 'rtc': True}
|
||||||
|
ignore_text
|
||||||
if tag_map:
|
if tag_map:
|
||||||
stack = v'[[serialized_data.tree[2], False]]'
|
stack = v'[[serialized_data.tree[2], False]]'
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user