mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix typos.
This commit is contained in:
parent
70bcc90bca
commit
c38f81ddf7
@ -37,7 +37,7 @@ class MarkdownMLizer(object):
|
|||||||
if not self.opts.keep_links:
|
if not self.opts.keep_links:
|
||||||
html = re.sub(r'<\s*/*\s*a[^>]*>', '', html)
|
html = re.sub(r'<\s*/*\s*a[^>]*>', '', html)
|
||||||
if not self.opts.keep_image_references:
|
if not self.opts.keep_image_references:
|
||||||
html = re.sub(r'<\s*img[^>]*>', '', html)\
|
html = re.sub(r'<\s*img[^>]*>', '', html)
|
||||||
|
|
||||||
text = html2text(html)
|
text = html2text(html)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user