From e0d1de2ce8832eb55abacf85edbfdcb1fb5d549e Mon Sep 17 00:00:00 2001 From: ldolse Date: Sun, 16 Jan 2011 20:54:17 +0800 Subject: [PATCH] removed hyphen removal from text input that's covered by the heuristics option --- src/calibre/ebooks/txt/input.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/calibre/ebooks/txt/input.py b/src/calibre/ebooks/txt/input.py index 8bf33c4837..39bfb4b132 100644 --- a/src/calibre/ebooks/txt/input.py +++ b/src/calibre/ebooks/txt/input.py @@ -137,11 +137,6 @@ class TXTInput(InputFormatPlugin): setattr(options, 'format_scene_breaks', True) setattr(options, 'dehyphenate', True) - # Dehyphenate in cleanup mode for missed txt and markdown conversion - dehyphenator = Dehyphenator(options.verbose, log=getattr(self, 'log', None)) - html = dehyphenator(html,'txt_cleanup', length) - html = dehyphenator(html,'html_cleanup', length) - from calibre.customize.ui import plugin_for_input_format html_input = plugin_for_input_format('html') for opt in html_input.options: