Fix pdf export , make it python3 compatible, Fix markmin2latex import

This commit is contained in:
jvanbraekel committed 2018-08-02 11:04:14 +02:00
1 parent 0d8dc294e9
commit 68284be7b0
3 files changed
+9 -10

No files matched your search

+2 -2
View File
@@ -25,7 +25,7 @@ def wrapper(f):
def latex_from_html(html):
markmin = TAG(html).element('body').flatten(markmin_serializer)
return XML(markmin2latex(markmin))
return markmin2latex(markmin)
def pdflatex_from_html(html):
@@ -39,7 +39,7 @@ def pdflatex_from_html(html):
H1('warnings'),
UL(*warnings))).xml())
else:
return XML(out)
return out
def pyfpdf_from_html(html):