1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-02 18:43:33 +02:00

Removed polyglot codepoint_to_chr

This commit is contained in:
2020-04-20 19:29:05 +02:00
parent 128705f258
commit eac0b98d6f
11 changed files with 20 additions and 25 deletions

View File

@@ -9,7 +9,6 @@ from ebook_converter.ebooks.pdb.formatreader import FormatReader
from ebook_converter.ebooks.compression.palmdoc import decompress_doc
from ebook_converter.utils.imghdr import identify
from ebook_converter.utils.img import save_cover_data_to, Canvas, image_from_data
from ebook_converter.polyglot.builtins import codepoint_to_chr
__license__ = 'GPL v3'
@@ -714,7 +713,7 @@ class Reader(FormatReader):
elif c == 0xa0:
html += ' '
else:
html += codepoint_to_chr(c)
html += chr(c)
offset += 1
if offset in paragraph_offsets:
need_set_p_id = True