aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-04-14 21:56:16 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-04-14 21:56:16 -0700
commitc77e0c5d774cc0413c647e93c5f03e352a646a57 (patch)
treefeb300b18f920f03f57b15cd481e36f8bbdd44ec
parentf78801aa20b06b63d3c6d3d336caf85ce3614d9e (diff)
downloadpandoc-c77e0c5d774cc0413c647e93c5f03e352a646a57.tar.gz
Input files with .db extension treated as docbook by default.
-rw-r--r--src/pandoc.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index dab7b4161..a8a70a1b4 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -689,6 +689,7 @@ defaultReaderName fallback (x:xs) =
".ltx" -> "latex"
".rst" -> "rst"
".lhs" -> "markdown+lhs"
+ ".db" -> "docbook"
".textile" -> "textile"
".native" -> "native"
".json" -> "json"