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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user