diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-05-31 11:16:08 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-05-31 11:16:08 -0700 |
commit | 669ecbd4abc0061d83537511ebeae10713a50047 (patch) | |
tree | c375f1f58f21d29d6f153043d32dab36a925f477 /src/Text/Pandoc/Readers/Org/Inlines.hs | |
parent | 561afac0bc004e324358782c30a18eae0cd3cc4c (diff) | |
parent | c17c62a2c74bbb6e36e12feea5aa6ba8679a023a (diff) | |
download | pandoc-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.hs | 7 |
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] |