mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #9343 (Convert from rtf - bug?)
This commit is contained in:
parent
f20c34b6f6
commit
c93547878c
@ -46,7 +46,8 @@ class Tokenize:
|
||||
|
||||
def __remove_uc_chars(self, startchar, token):
|
||||
for i in xrange(startchar, len(token)):
|
||||
if token[i] == " ":
|
||||
#handle the case of an uc char with a terminating blank before ansi char
|
||||
if token[i] == " " and self.__uc_char:
|
||||
continue
|
||||
elif self.__uc_char:
|
||||
self.__uc_char -= 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user