serious fix

pull/344/head
Shuhei Kadowaki 2020-05-23 20:07:59 +09:00
parent a7de8f5f58
commit 48adeff932
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ function format(doc, template = nothing, highlight_theme = nothing; css = nothin
end
body = join(lines, '\n')
return format isa JMarkdown2HTML ? render2html(body, doc, template, css, highlight_theme) :
format isa JMarkdown2tex ? render2tex(body, doc, template, highlight_theme) :
return docformat isa JMarkdown2HTML ? render2html(body, doc, template, css, highlight_theme) :
docformat isa JMarkdown2tex ? render2tex(body, doc, template, highlight_theme) :
body
end