diff options
| -rw-r--r-- | pandoc/filters/include-files.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pandoc/filters/include-files.lua b/pandoc/filters/include-files.lua index f9f208e9..06cfd4e6 100644 --- a/pandoc/filters/include-files.lua +++ b/pandoc/filters/include-files.lua @@ -36,7 +36,7 @@ local function update_contents(blocks, shift_by, include_path) end, -- If image paths are relative then prepend include file path Image = function (image) - if path.is_relative(image.src) then + if path.is_relative(image.src) and image.src:sub(1,5) ~= "logos" then image.src = path.normalize(path.join({include_path, image.src})) end return image @@ -77,7 +77,7 @@ function transclude (cb) end end - --- keep track of level before recusion + --- keep track of level before recursion local buffer_last_heading_level = last_heading_level local blocks = List:new() |
