aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-11-02 19:35:34 -0700
committerJohn MacFarlane <[email protected]>2023-11-02 19:35:34 -0700
commit051fa7d5741bc731b78b2dc1696ddbaaa54139ff (patch)
tree73940a821f7d93a196c605d2eb3a265ddf636eb3 /src
parentdb92f61f1e29f7da63016e2f86400097bafdb214 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/Ms.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Ms.hs b/src/Text/Pandoc/Writers/Ms.hs
index 564551e4e..2d2825245 100644
--- a/src/Text/Pandoc/Writers/Ms.hs
+++ b/src/Text/Pandoc/Writers/Ms.hs
@@ -313,7 +313,7 @@ blockToMs opts (Figure figattr (Caption _ caption) body) =
".pdf" -> ".PDFPIC"
_ -> "\\\" .IMAGE"
return $ nowrap (literal cmd <+>
- doubleQuotes (literal (escapeStr opts src)) <>
+ doubleQuotes (literal src) <>
sizeAttrs) $$
literal (".ce " <> tshow captlines) $$
capt $$