aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-08-28 06:59:57 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-08-28 06:59:57 +0000
commit8cf497182139774464350c7b97a42ce2a198e7aa (patch)
tree89374f61340fe6e9ee1464a36294399e3fd58b44 /src/Text/Pandoc
parent0c475bfd4792a29e5527f63d3adfa4256d75af68 (diff)
downloadpandoc-8cf497182139774464350c7b97a42ce2a198e7aa.tar.gz
Minor reformatting.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@934 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index 057aec2ee..0c635abee 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -233,8 +233,9 @@ atxClosing = try $ skipMany (char '#') >> blanklines
setextHeader = try $ do
text <- many1Till inline newline >>= return . normalizeSpaces
- level <- choice $ zipWith (\ch lev -> try (many1 $ char ch) >> blanklines >> return lev)
- setextHChars [1..(length setextHChars)]
+ level <- choice $ zipWith
+ (\ch lev -> try (many1 $ char ch) >> blanklines >> return lev)
+ setextHChars [1..(length setextHChars)]
return $ Header level text
--