aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-11-08 17:17:19 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-11-08 17:17:19 -0800
commit237c10992e4cf22a8dd64b385fc44168468021c6 (patch)
tree07cef5a4395b99661cc0d2956cadefe0c5d8e896 /src/Text
parentc423dbb5a34c2d1195020e0f0ca3aae883d0749b (diff)
parente3b4844bd77ef2cc0a288c0b5378e2569468c618 (diff)
downloadpandoc-237c10992e4cf22a8dd64b385fc44168468021c6.tar.gz
Merge pull request #2505 from tarleb/org-header-markup-fix
Org reader: fix markup parsing in headers
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/Org.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Org.hs b/src/Text/Pandoc/Readers/Org.hs
index d27acea2a..6e14febeb 100644
--- a/src/Text/Pandoc/Readers/Org.hs
+++ b/src/Text/Pandoc/Readers/Org.hs
@@ -731,7 +731,7 @@ headerTags = try $
headerStart :: OrgParser Int
headerStart = try $
- (length <$> many1 (char '*')) <* many1 (char ' ')
+ (length <$> many1 (char '*')) <* many1 (char ' ') <* updateLastPreCharPos
-- Don't use (or need) the reader wrapper here, we want hline to be