diff options
| author | John MacFarlane <[email protected]> | 2023-11-02 19:35:34 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-11-02 19:35:34 -0700 |
| commit | 051fa7d5741bc731b78b2dc1696ddbaaa54139ff (patch) | |
| tree | 73940a821f7d93a196c605d2eb3a265ddf636eb3 /src | |
| parent | db92f61f1e29f7da63016e2f86400097bafdb214 (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.hs | 2 |
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 $$ |
