From fd794178251174f9519b04ef92f62e87df0320f0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 14 Jan 2011 22:38:02 -0800 Subject: Fixed the parser for rst+lhs - set stateLiterateHaskell. --- src/Text/Pandoc.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs index 3532c1d4b..dd1b3892d 100644 --- a/src/Text/Pandoc.hs +++ b/src/Text/Pandoc.hs @@ -149,8 +149,9 @@ readers = [("native" , \_ -> read) ,("markdown+lhs" , \st -> readMarkdown st{ stateLiterateHaskell = True}) ,("rst" , readRST) + ,("rst+lhs" , \st -> + readRST st{ stateLiterateHaskell = True}) ,("textile" , readTextile) -- TODO : textile+lhs - ,("rst+lhs" , readRST) ,("html" , readHtml) ,("latex" , readLaTeX) ,("latex+lhs" , \st -> -- cgit v1.2.3