Fixed bug retrieving default template for markdown variants.
This commit is contained in:
parent
1f7ce4a2cd
commit
d39f527b07
1 changed files with 5 additions and 3 deletions
|
@ -132,6 +132,8 @@ getDefaultTemplate user writer = do
|
|||
"markdown_strict" -> getDefaultTemplate user "markdown"
|
||||
"multimarkdown" -> getDefaultTemplate user "markdown"
|
||||
"markdown_github" -> getDefaultTemplate user "markdown"
|
||||
"markdown_mmd" -> getDefaultTemplate user "markdown"
|
||||
"markdown_phpextra" -> getDefaultTemplate user "markdown"
|
||||
_ -> let fname = "templates" </> "default" <.> format
|
||||
in E.try $ readDataFileUTF8 user fname
|
||||
|
||||
|
|
Loading…
Reference in a new issue