mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 09:47:06 +00:00
RTF writer: omit \bin in \pict.
According to the spec, this is not needed or wanted when the data is in hexadecimal format, as it is here.
This commit is contained in:
@@ -64,7 +64,7 @@ rtfEmbedImage opts x@(Image attr _ (src,_)) = catchError
|
||||
-- twip = 1/1440in = 1/20pt
|
||||
where (xpx, ypx) = sizeInPixels sz
|
||||
(xpt, ypt) = desiredSizeInPoints opts attr sz
|
||||
let raw = "{\\pict" <> filetype <> sizeSpec <> "\\bin " <>
|
||||
let raw = "{\\pict" <> filetype <> sizeSpec <> " " <>
|
||||
T.concat bytes <> "}"
|
||||
if B.null imgdata
|
||||
then do
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user