From 289cdf33925dc4f80c08889e941becc9c3862471 Mon Sep 17 00:00:00 2001 From: ldolse Date: Sun, 9 Jan 2011 10:43:24 +0800 Subject: [PATCH] changed unformatted description --- src/calibre/ebooks/txt/input.py | 2 +- src/calibre/ebooks/txt/processor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/txt/input.py b/src/calibre/ebooks/txt/input.py index 34a702cc55..9bc9323a4c 100644 --- a/src/calibre/ebooks/txt/input.py +++ b/src/calibre/ebooks/txt/input.py @@ -31,7 +31,7 @@ class TXTInput(InputFormatPlugin): '* single: Assume every line is a paragraph.\n' '* print: Assume every line starting with 2+ spaces or a tab ' 'starts a paragraph.' - '* unformatted: Most lines have hard line breaks, few/no spaces or indents.')), + '* unformatted: Most lines have hard line breaks, few/no blank lines or indents.')), OptionRecommendation(name='formatting_type', recommended_value='auto', choices=['auto', 'none', 'heuristic', 'markdown'], help=_('Formatting used within the document.' diff --git a/src/calibre/ebooks/txt/processor.py b/src/calibre/ebooks/txt/processor.py index 9dc29e45dd..e26f0a9d07 100644 --- a/src/calibre/ebooks/txt/processor.py +++ b/src/calibre/ebooks/txt/processor.py @@ -117,7 +117,7 @@ def detect_paragraph_type(txt): single: Each line is a paragraph. print: Each paragraph starts with a 2+ spaces or a tab and ends when a new paragraph is reached. - unformatted: most lines have hard line breaks, few/no spaces or indents + unformatted: most lines have hard line breaks, few/no blank lines or indents returns block, single, print, unformatted '''