summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-23 15:35:18 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-23 15:35:18 -0700
commit8390d935d8af944690736b7f2da5f2a58d97351b (patch)
tree90283b6890e4617936bd525ca59f90b2c16c3497 /src
parent35e6c893ec1f63aa2d1b0a5f128b9a6ab95f4b8c (diff)
Updated tests and removed a skipSpaces....
we no longer need it with the change to toKey, and it is expensive to skip spaces after every inline.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/Markdown.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs
index ab33023bb..ea5f5326d 100644
--- a/src/Text/Pandoc/Readers/Markdown.hs
+++ b/src/Text/Pandoc/Readers/Markdown.hs
@@ -521,7 +521,6 @@ atxClosing :: MarkdownParser Attr
atxClosing = try $ do
attr' <- option nullAttr
(guardEnabled Ext_mmd_header_identifiers >> mmdHeaderIdentifier)
- skipSpaces
skipMany (char '#')
skipSpaces
attr <- option attr'