This commit is contained in:
Kovid Goyal 2020-12-10 09:35:50 +05:30
parent 52e855b130
commit b10a85e948
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -63,7 +63,7 @@ def tts_data(text_node, offset):
marked_text.push(text[:start])
marked_text.push(start + offset_in_flat_text)
marked_text.push(match[0])
last = start + match.length
last = start + match[0].length
if last is None:
marked_text.push(text)
else: