aboutsummaryrefslogtreecommitdiff
path: root/test/lhs-test.markdown
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-01-08 11:36:33 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-01-08 11:36:33 -0800
commit8673eb079bc389f340bafd4c191c642afc7e1603 (patch)
treea1111e65028c23488ff5d4652a60bdb27feb4153 /test/lhs-test.markdown
parent230e07ddfce31ba89a12e39ecf995577d0bb67a8 (diff)
downloadpandoc-8673eb079bc389f340bafd4c191c642afc7e1603.tar.gz
Removed superfluous sourceCode class on code blocks.
* These were added by the RST reader and, for literate Haskell, by the Markdown and LaTeX readers. There is no point to this class, and it is not applied consistently by all readers. See #5047. * Reverse order of `literate` and `haskell` classes on code blocks when parsing literate Haskell. Better if `haskell` comes first.
Diffstat (limited to 'test/lhs-test.markdown')
-rw-r--r--test/lhs-test.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lhs-test.markdown b/test/lhs-test.markdown
index 20949b75c..0ddf24a98 100644
--- a/test/lhs-test.markdown
+++ b/test/lhs-test.markdown
@@ -4,7 +4,7 @@ lhs test
`unsplit` is an arrow that takes a pair of values and combines them to
return a single value:
-``` {.sourceCode .literate .haskell}
+``` {.haskell .literate}
unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
unsplit = arr . uncurry
-- arr (\op (x,y) -> x `op` y)