aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Org/Parsing.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2021-05-09 18:42:42 -0600
committerJohn MacFarlane <[email protected]>2021-05-09 18:44:30 -0600
commiteb474bf71744502a2ff24fe2982a52ab676e427c (patch)
tree63922b0ae493c4c8c7c56d32e3bda5cc872bcf0b /src/Text/Pandoc/Readers/Org/Parsing.hs
parentbad3985a4e0e2c8db376c9024b2530991b875815 (diff)
Org reader: Resolve org includes relative to ...sources
...the directory containing the file containing the INCLUDE directive. Closes #5501.
Diffstat (limited to 'src/Text/Pandoc/Readers/Org/Parsing.hs')
-rw-r--r--src/Text/Pandoc/Readers/Org/Parsing.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Org/Parsing.hs b/src/Text/Pandoc/Readers/Org/Parsing.hs
index 701bf3398..f0949e205 100644
--- a/src/Text/Pandoc/Readers/Org/Parsing.hs
+++ b/src/Text/Pandoc/Readers/Org/Parsing.hs
@@ -99,6 +99,7 @@ module Text.Pandoc.Readers.Org.Parsing
, getState
, updateState
, SourcePos
+ , sourceName
, getPosition
) where