diff --git a/src/calibre/ebooks/epub/output.py b/src/calibre/ebooks/epub/output.py index efd27ef8f3..3256e1168a 100644 --- a/src/calibre/ebooks/epub/output.py +++ b/src/calibre/ebooks/epub/output.py @@ -285,8 +285,10 @@ class EPUBOutput(OutputFormatPlugin): for elem in root.iterdescendants(): if getattr(elem, 'text', False): elem.text = special_chars.sub('', elem.text) + elem.text = elem.text.replace(u'\u2011', '-') if getattr(elem, 'tail', False): elem.tail = special_chars.sub('', elem.tail) + elem.tail = elem.tail.replace(u'\u2011', '-') diff --git a/todo b/todo index b516e60e7f..75be02c16e 100644 --- a/todo +++ b/todo @@ -12,3 +12,5 @@ - Use a process pool for speed or multiple process for stability (20 per process?) * Change mobi metadata setter to use author_sort setting from MOBI output plugin instead of mobi.py + +* Fix HTML-to-ZIP plugin