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
This commit is contained in:
fiddlosopher 2007-01-06 18:46:32 +00:00
parent 1645fb65e4
commit 7ecac6d216

View file

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