mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-12 10:35:52 +00:00
Merge pull request #452 from wangp/master
Texinfo writer: retain directories in image paths.
This commit is contained in:
@@ -415,7 +415,7 @@ inlineToTexinfo (Image alternate (source, _)) = do
|
||||
text (ext ++ "}")
|
||||
where
|
||||
ext = drop 1 $ takeExtension source'
|
||||
base = takeBaseName source'
|
||||
base = dropExtension source'
|
||||
source' = if isAbsoluteURI source
|
||||
then source
|
||||
else unEscapeString source
|
||||
|
||||
Reference in New Issue
Block a user