Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed May 20, 2024
1 parent 33a8d70 commit 2986d2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pyj/read_book/resources.pyj
Expand Up @@ -409,7 +409,8 @@ def text_from_serialized_html(data, get_anchor_offset_map):
tag_map = serialized_data.tag_map
ans = v'[]'
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:
stack = v'[[serialized_data.tree[2], False]]'
else:
Expand Down

0 comments on commit 2986d2f

Please sign in to comment.