mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 15:05:47 +00:00
+2
-1
@@ -61,6 +61,7 @@ import Control.Monad (when, unless, liftM)
|
||||
import Network.HTTP (simpleHTTP, mkRequest, getResponseBody, RequestMethod(..))
|
||||
import Network.URI (parseURI, isURI)
|
||||
import Data.ByteString.Lazy.UTF8 (toString)
|
||||
import Codec.Binary.UTF8.String (decodeString)
|
||||
|
||||
copyrightMessage :: String
|
||||
copyrightMessage = "\nCopyright (C) 2006-2010 John MacFarlane\n" ++
|
||||
@@ -592,7 +593,7 @@ defaultWriterName x =
|
||||
main :: IO ()
|
||||
main = do
|
||||
|
||||
rawArgs <- getArgs
|
||||
rawArgs <- liftM (map decodeString) getArgs
|
||||
prg <- getProgName
|
||||
let compatMode = (prg == "hsmarkdown")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user