diff options
Diffstat (limited to 'Text')
-rw-r--r-- | Text/Pandoc/Readers/Markdown.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Text/Pandoc/Readers/Markdown.hs b/Text/Pandoc/Readers/Markdown.hs index 2dbf9e189..7c4a778fe 100644 --- a/Text/Pandoc/Readers/Markdown.hs +++ b/Text/Pandoc/Readers/Markdown.hs @@ -851,8 +851,7 @@ dash = enDash <|> emDash enDash = try $ char '-' >> notFollowedBy (noneOf "0123456789") >> return EnDash -emDash = try $ skipSpaces >> oneOfStrings ["---", "--"] >> - skipSpaces >> return EmDash +emDash = oneOfStrings ["---", "--"] >> return EmDash whitespace = do sps <- many1 (oneOf spaceChars) |