aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Textile.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-07-25 11:08:06 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-07-25 11:08:06 -0700
commitdfa19061abc24a3e95b9b37e4f9484d902110899 (patch)
tree22c233b704fd99be18711cce8dcf08964096dab6 /src/Text/Pandoc/Readers/Textile.hs
parentda3702357dc9a310b460c82411fe5b8c870416d5 (diff)
downloadpandoc-dfa19061abc24a3e95b9b37e4f9484d902110899.tar.gz
Options -> ReaderOptions.
Better to keep reader and writer options separate.
Diffstat (limited to 'src/Text/Pandoc/Readers/Textile.hs')
-rw-r--r--src/Text/Pandoc/Readers/Textile.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Textile.hs b/src/Text/Pandoc/Readers/Textile.hs
index 5373672b0..4522a7d95 100644
--- a/src/Text/Pandoc/Readers/Textile.hs
+++ b/src/Text/Pandoc/Readers/Textile.hs
@@ -80,7 +80,7 @@ parseTextile = do
-- textile allows raw HTML and does smart punctuation by default
oldOpts <- stateOptions `fmap` getState
updateState $ \state -> state { stateParseRaw = True
- , stateOptions = oldOpts{ optionSmart = True }
+ , stateOptions = oldOpts{ readerSmart = True }
}
many blankline
startPos <- getPosition