"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Text/Pandoc/Writers/Powerpoint/Output.hs" between
pandoc-2.14.0.3.tar.gz and pandoc-2.14.1.tar.gz

About: Pandoc converts files from one markup format into another.

Output.hs  (pandoc-2.14.0.3):Output.hs  (pandoc-2.14.1)
skipping to change at line 537 skipping to change at line 537
let imgExt = (mbMt >>= extensionFromMimeType >>= (\x -> return $ "." <> x)) let imgExt = (mbMt >>= extensionFromMimeType >>= (\x -> return $ "." <> x))
<|> <|>
case imageType imgBytes of case imageType imgBytes of
Just Png -> Just ".png" Just Png -> Just ".png"
Just Jpeg -> Just ".jpeg" Just Jpeg -> Just ".jpeg"
Just Gif -> Just ".gif" Just Gif -> Just ".gif"
Just Pdf -> Just ".pdf" Just Pdf -> Just ".pdf"
Just Eps -> Just ".eps" Just Eps -> Just ".eps"
Just Svg -> Just ".svg" Just Svg -> Just ".svg"
Just Emf -> Just ".emf" Just Emf -> Just ".emf"
Just Tiff -> Just ".tiff"
Nothing -> Nothing Nothing -> Nothing
let newGlobalId = fromMaybe (maxGlobalId + 1) (M.lookup fp globalIds) let newGlobalId = fromMaybe (maxGlobalId + 1) (M.lookup fp globalIds)
let newGlobalIds = M.insert fp newGlobalId globalIds let newGlobalIds = M.insert fp newGlobalId globalIds
let mediaInfo = MediaInfo { mInfoFilePath = fp let mediaInfo = MediaInfo { mInfoFilePath = fp
, mInfoLocalId = maxLocalId + 1 , mInfoLocalId = maxLocalId + 1
, mInfoGlobalId = newGlobalId , mInfoGlobalId = newGlobalId
, mInfoMimeType = mbMt , mInfoMimeType = mbMt
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)