summaryrefslogtreecommitdiff
path: root/src/pandoc.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r--src/pandoc.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs
index 0fd9f37a4..c879a874c 100644
--- a/src/pandoc.hs
+++ b/src/pandoc.hs
@@ -942,11 +942,12 @@ main = do
lhsExtension sources,
stateStandalone = standalone',
stateCitations = map CSL.refId refs,
- stateSmart = smart || (texLigatures &&
- (laTeXOutput || writerName' == "context")),
stateOldDashes = oldDashes,
stateColumns = columns,
- stateStrict = strict,
+ stateOptions = def{ optionStrict = strict
+ , optionSmart = smart ||
+ (texLigatures &&
+ (laTeXOutput || writerName' == "context")) },
stateIndentedCodeClasses = codeBlockClasses,
stateApplyMacros = not laTeXOutput
}