mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MOBI Input: Do not choke on MOBI files with incorrectly encoded titles. Fixes #1100601 (Private bug)
This commit is contained in:
parent
4650e8d633
commit
b0b1b8c7a3
@ -249,7 +249,7 @@ class MobiReader(object):
|
||||
head.insert(0, m)
|
||||
if not title:
|
||||
title = head.makeelement('title', {})
|
||||
title.text = self.book_header.title
|
||||
title.text = clean_ascii_chars(self.book_header.title)
|
||||
title.tail = '\n\t'
|
||||
head.insert(0, title)
|
||||
head.text = '\n\t'
|
||||
|
Loading…
x
Reference in New Issue
Block a user