Docx writer: Use rIdNN identifiers for r:embed in images.
This commit is contained in:
parent
73f464b8cd
commit
4d1c82de9e
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ inlineToOpenXML opts (Image alt (src, tit)) = do
|
|||
Just (i,img) -> return (i, imageSize img)
|
||||
Nothing -> do
|
||||
img <- liftIO $ B.readFile src
|
||||
ident' <- getUniqueId
|
||||
ident' <- ("rId"++) `fmap` getUniqueId
|
||||
let size' = imageSize img
|
||||
modify $ \st -> st{
|
||||
stImages = M.insert src (ident',img) $ stImages st }
|
||||
|
|
Loading…
Add table
Reference in a new issue