1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-02 10:23:34 +02:00

Some misc cleanups

This commit is contained in:
2020-05-24 12:10:13 +02:00
parent 0fc6e3b081
commit 17c52a14a4
4 changed files with 35 additions and 44 deletions

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)