From c38f81ddf7168c444a99378a6a67c25e13e7cfe7 Mon Sep 17 00:00:00 2001 From: John Schember Date: Mon, 4 Apr 2011 18:46:46 -0400 Subject: [PATCH] Fix typos. --- src/calibre/ebooks/txt/markdownml.py | 2 +- src/calibre/ebooks/txt/output.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/txt/markdownml.py b/src/calibre/ebooks/txt/markdownml.py index c179378049..fe76757eab 100644 --- a/src/calibre/ebooks/txt/markdownml.py +++ b/src/calibre/ebooks/txt/markdownml.py @@ -37,7 +37,7 @@ class MarkdownMLizer(object): if not self.opts.keep_links: html = re.sub(r'<\s*/*\s*a[^>]*>', '', html) if not self.opts.keep_image_references: - html = re.sub(r'<\s*img[^>]*>', '', html)\ + html = re.sub(r'<\s*img[^>]*>', '', html) text = html2text(html) diff --git a/src/calibre/ebooks/txt/output.py b/src/calibre/ebooks/txt/output.py index d021cbbba6..4e54a97b45 100644 --- a/src/calibre/ebooks/txt/output.py +++ b/src/calibre/ebooks/txt/output.py @@ -11,7 +11,7 @@ from lxml import etree from calibre.customize.conversion import OutputFormatPlugin, \ OptionRecommendation -from calibre.ebooks.oeb.base import OEB_IMAGES +from calibre.ebooks.oeb.base import OEB_IMAGES from calibre.ebooks.txt.txtml import TXTMLizer from calibre.ebooks.txt.newlines import TxtNewlines, specified_newlines from calibre.ptempfile import TemporaryDirectory, TemporaryFile