mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
52e855b130
commit
b10a85e948
@ -63,7 +63,7 @@ def tts_data(text_node, offset):
|
|||||||
marked_text.push(text[:start])
|
marked_text.push(text[:start])
|
||||||
marked_text.push(start + offset_in_flat_text)
|
marked_text.push(start + offset_in_flat_text)
|
||||||
marked_text.push(match[0])
|
marked_text.push(match[0])
|
||||||
last = start + match.length
|
last = start + match[0].length
|
||||||
if last is None:
|
if last is None:
|
||||||
marked_text.push(text)
|
marked_text.push(text)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user