Fixed bug retrieving default template for markdown variants.

This commit is contained in:
John MacFarlane 2013-07-02 09:04:07 -07:00
parent 1f7ce4a2cd
commit d39f527b07

View file

@ -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