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:
parent
1645fb65e4
commit
7ecac6d216
1 changed files with 1 additions and 2 deletions
|
@ -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 ""
|
||||
|
|
Loading…
Reference in a new issue