diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-08-28 06:59:57 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-08-28 06:59:57 +0000 |
commit | 8cf497182139774464350c7b97a42ce2a198e7aa (patch) | |
tree | 89374f61340fe6e9ee1464a36294399e3fd58b44 /src/Text/Pandoc | |
parent | 0c475bfd4792a29e5527f63d3adfa4256d75af68 (diff) | |
download | pandoc-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.hs | 5 |
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 -- |