aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Org/Inlines.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-05-31 11:16:08 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-05-31 11:16:08 -0700
commit669ecbd4abc0061d83537511ebeae10713a50047 (patch)
treec375f1f58f21d29d6f153043d32dab36a925f477 /src/Text/Pandoc/Readers/Org/Inlines.hs
parent561afac0bc004e324358782c30a18eae0cd3cc4c (diff)
parentc17c62a2c74bbb6e36e12feea5aa6ba8679a023a (diff)
downloadpandoc-669ecbd4abc0061d83537511ebeae10713a50047.tar.gz
Merge pull request #2954 from tarleb/org-export-blocks
Org export blocks
Diffstat (limited to 'src/Text/Pandoc/Readers/Org/Inlines.hs')
-rw-r--r--src/Text/Pandoc/Readers/Org/Inlines.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Readers/Org/Inlines.hs b/src/Text/Pandoc/Readers/Org/Inlines.hs
index 0c3840979..a122c334a 100644
--- a/src/Text/Pandoc/Readers/Org/Inlines.hs
+++ b/src/Text/Pandoc/Readers/Org/Inlines.hs
@@ -28,8 +28,8 @@ Parsers for Org-mode inline elements.
-}
module Text.Pandoc.Readers.Org.Inlines
( inline
+ , inlines
, addToNotesTable
- , parseInlines
, isImageFilename
, linkTarget
) where
@@ -145,8 +145,9 @@ inline =
] <* (guard =<< newlinesCountWithinLimits)
<?> "inline"
-parseInlines :: OrgParser (F Inlines)
-parseInlines = trimInlinesF . mconcat <$> many1 inline
+-- | Read the rest of the input as inlines.
+inlines :: OrgParser (F Inlines)
+inlines = trimInlinesF . mconcat <$> many1 inline
-- treat these as potentially non-text when parsing inline:
specialChars :: [Char]