From f88045c16266474ed625a0e38b0a9fa12aded75d Mon Sep 17 00:00:00 2001 From: ldolse Date: Sat, 8 Jan 2011 20:35:19 +0800 Subject: [PATCH] fixed comments --- src/calibre/ebooks/txt/processor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/calibre/ebooks/txt/processor.py b/src/calibre/ebooks/txt/processor.py index 53935584d2..c6cf1078cd 100644 --- a/src/calibre/ebooks/txt/processor.py +++ b/src/calibre/ebooks/txt/processor.py @@ -102,10 +102,9 @@ 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. - markdown: Markdown formatting is in the document. unformatted: most lines have hard line breaks, few/no spaces or indents - returns block, single, print, markdown, unformatted + returns block, single, print, unformatted ''' txt = txt.replace('\r\n', '\n') txt = txt.replace('\r', '\n')