diff options
| author | John MacFarlane <[email protected]> | 2022-11-08 15:20:08 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-11-08 15:20:08 -0800 |
| commit | 1989573074536357e920089c7fca9784ae3ad8fd (patch) | |
| tree | 46e9b15e1e70ca317e0526866edde93f2050ca26 | |
| parent | e2899fd52af6bcd962e4905f13deb5818ad42ded (diff) | |
Ms writer: remove -C option on PSPIC.
Some old versions don't support this option, and since it's
the default it shouldn't be necessary.
| -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 77f22fc9e..2f3915549 100644 --- a/src/Text/Pandoc/Writers/Ms.hs +++ b/src/Text/Pandoc/Writers/Ms.hs @@ -176,7 +176,7 @@ blockToMs opts (Para [Image attr alt (src,_tit)]) doubleQuotes (literal (tshow (floor hp :: Int))) _ -> empty capt <- splitSentences <$> inlineListToMs' opts alt - return $ nowrap (literal ".PSPIC -C " <> + return $ nowrap (literal ".PSPIC " <> doubleQuotes (literal (escapeStr opts src)) <> sizeAttrs) $$ literal ".ce 1000" $$ |
