aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-10-22 15:53:51 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-10-22 15:56:23 +0300
commit89bcd192a16a22d348fbbe8475bebfbfe4fd5d35 (patch)
tree8d8d2686bfdb3a425bd9a057e3a525dff26ef650 /src/Text/Pandoc
parenta22e044b13610916b98a0a723d16275278541264 (diff)
downloadpandoc-89bcd192a16a22d348fbbe8475bebfbfe4fd5d35.tar.gz
Muse reader internals: remove unnecessary "skipSpaces"
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/Muse.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Muse.hs b/src/Text/Pandoc/Readers/Muse.hs
index bc3bb921e..88c78d450 100644
--- a/src/Text/Pandoc/Readers/Muse.hs
+++ b/src/Text/Pandoc/Readers/Muse.hs
@@ -504,7 +504,7 @@ amuseNoteBlockUntil end = try $ do
emacsNoteBlock :: PandocMonad m => MuseParser m (F Blocks)
emacsNoteBlock = try $ do
guardDisabled Ext_amuse
- ref <- noteMarker <* skipSpaces
+ ref <- noteMarker
pos <- getPosition
content <- fmap mconcat blocksTillNote
addNote ref pos content