From 7ecac6d2160c4d81edc7835000db60967f0412ba Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sat, 6 Jan 2007 18:46:32 +0000 Subject: Allow '-S' option to be specified together with '--strict', if desired. Thus 'pandoc -S --strict -r markdown -w html' can replace the Markdown.pl/Smartypants combination. git-svn-id: https://pandoc.googlecode.com/svn/trunk@438 788f1e2b-df1e-0410-8736-df70ead52e1b --- src/Main.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/Main.hs b/src/Main.hs index 31de9d6e5..b5de582d3 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -423,8 +423,7 @@ main = do defaultParserState { stateParseRaw = parseRaw, stateTabStop = tabStop, stateStandalone = standalone && (not strict), - stateSmart = (smart && (not strict)) || - writerName' == "latex", + stateSmart = smart || writerName' == "latex", stateStrict = strict } let csslink = if (css == "") then "" -- cgit v1.2.3