aboutsummaryrefslogtreecommitdiff
path: root/src/Tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-07-25 20:08:42 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-07-25 20:08:42 -0700
commit1dba82f25ee17590bf03b00659662240460b7824 (patch)
treebe3651aa25289a5b5263a6e3de951deed8314ea2 /src/Tests
parent95570ba34c4e7675295b6eefcfcc4dac4ac720af (diff)
downloadpandoc-1dba82f25ee17590bf03b00659662240460b7824.tar.gz
Got rid of stateStandalone, which was hardly used anyway.
The only possible effect will be with rst fragments that begin with an rst title block, which will now cause the header transform.
Diffstat (limited to 'src/Tests')
-rw-r--r--src/Tests/Readers/Markdown.hs2
-rw-r--r--src/Tests/Readers/RST.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Tests/Readers/Markdown.hs b/src/Tests/Readers/Markdown.hs
index 8462558a9..e6612f475 100644
--- a/src/Tests/Readers/Markdown.hs
+++ b/src/Tests/Readers/Markdown.hs
@@ -10,7 +10,7 @@ import Text.Pandoc.Builder
import Text.Pandoc
markdown :: String -> Pandoc
-markdown = readMarkdown defaultParserState{ stateStandalone = True }
+markdown = readMarkdown defaultParserState
markdownSmart :: String -> Pandoc
markdownSmart = readMarkdown defaultParserState{ stateOptions =
diff --git a/src/Tests/Readers/RST.hs b/src/Tests/Readers/RST.hs
index 3269092a6..5601731a0 100644
--- a/src/Tests/Readers/RST.hs
+++ b/src/Tests/Readers/RST.hs
@@ -9,7 +9,7 @@ import Text.Pandoc.Builder
import Text.Pandoc
rst :: String -> Pandoc
-rst = readRST defaultParserState{ stateStandalone = True }
+rst = readRST defaultParserState
infix 4 =:
(=:) :: ToString c