aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Org/Inlines.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc/Readers/Org/Inlines.hs')
-rw-r--r--src/Text/Pandoc/Readers/Org/Inlines.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Org/Inlines.hs b/src/Text/Pandoc/Readers/Org/Inlines.hs
index 97b36b388..5f3df8d3e 100644
--- a/src/Text/Pandoc/Readers/Org/Inlines.hs
+++ b/src/Text/Pandoc/Readers/Org/Inlines.hs
@@ -647,6 +647,9 @@ emphasisStart c = try $ do
char c
lookAhead (noneOf emphasisForbiddenBorderChars)
pushToInlineCharStack c
+ -- nested inlines are allowed, so mark this position as one which might be
+ -- followed by another inline.
+ updateLastPreCharPos
return c
-- | Parses the closing character of emphasis