mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
removed hyphen removal from text input that's covered by the heuristics option
This commit is contained in:
parent
e94b988255
commit
e0d1de2ce8
@ -137,11 +137,6 @@ class TXTInput(InputFormatPlugin):
|
|||||||
setattr(options, 'format_scene_breaks', True)
|
setattr(options, 'format_scene_breaks', True)
|
||||||
setattr(options, 'dehyphenate', 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
|
from calibre.customize.ui import plugin_for_input_format
|
||||||
html_input = plugin_for_input_format('html')
|
html_input = plugin_for_input_format('html')
|
||||||
for opt in html_input.options:
|
for opt in html_input.options:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user