Some misc cleanups

This commit is contained in:
gryf committed 2020-05-24 12:10:13 +02:00
1 parent 0fc6e3b081
commit 17c52a14a4
4 files changed
+35 -44

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ def convert_markdown_with_metadata(txt, title='', extensions=DEFAULT_MD_EXTENSIO
def convert_textile(txt, title=''):
from ebook_converter.ebooks.textile import textile
from ebook_converter.ebooks.textile.functions import textile
html = textile(txt, encoding='utf-8')
return HTML_TEMPLATE % (title, html)