Skip to content

Commit c7fa2d6

Browse files
committed
fix tests
1 parent 943cd6a commit c7fa2d6

File tree

3 files changed

+355
-19
lines changed

3 files changed

+355
-19
lines changed

src/Text/Pandoc/Readers/Markdown.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2079,7 +2079,7 @@ wikilinkTransclusion = try $ do
20792079
then do
20802080
guardEnabled Ext_wikilink_transclusions
20812081
currentDir <- takeDirectory . sourceName <$> getPosition
2082-
let filename = T.unpack url
2082+
let filename = T.unpack url <> ".md" -- Assume .md extension for transclusion
20832083
-- Support relative paths like "Folder/File" by using currentDir as base
20842084
insertIncludedFile parseTranscludedInlines toSources [currentDir] filename Nothing Nothing
20852085
else do

0 commit comments

Comments
 (0)