Skip to content

Commit 051fa7d

Browse files
committed
Ms writer: don't do normal escapes in filename arguments...
for PSPIC etc. Note: I haven't been able to figure out how to make it work if the filename contains a `"` character.
1 parent db92f61 commit 051fa7d

File tree

1 file changed

+1
-1
lines changed
  • src/Text/Pandoc/Writers

1 file changed

+1
-1
lines changed

src/Text/Pandoc/Writers/Ms.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ blockToMs opts (Figure figattr (Caption _ caption) body) =
313313
".pdf" -> ".PDFPIC"
314314
_ -> "\\\" .IMAGE"
315315
return $ nowrap (literal cmd <+>
316-
doubleQuotes (literal (escapeStr opts src)) <>
316+
doubleQuotes (literal src) <>
317317
sizeAttrs) $$
318318
literal (".ce " <> tshow captlines) $$
319319
capt $$

0 commit comments

Comments
 (0)