mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Full text search: Ignore text inside <ruby> tags when indexing books. Fixes #2056614 [Ruby text interferes with fulltext search](https://bugs.launchpad.net/calibre/+bug/2056614)
This commit is contained in:
parent
abb75711b2
commit
25ad85a69c
@ -20,7 +20,7 @@ class SimpleContainer(ContainerBase):
|
|||||||
tweak_mode = True
|
tweak_mode = True
|
||||||
|
|
||||||
|
|
||||||
skipped_tags = frozenset({'style', 'title', 'script', 'head', 'img', 'svg', 'math'})
|
skipped_tags = frozenset({'style', 'title', 'script', 'head', 'img', 'svg', 'math', 'ruby'})
|
||||||
|
|
||||||
|
|
||||||
def tag_to_text(tag):
|
def tag_to_text(tag):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user