From 8d39d03d05728dd8cb17f884525fa2e26794441c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 1 Apr 2015 15:21:55 -0700 Subject: Added "noProof" to docx syntax highlighting SourceCode style. --- src/Text/Pandoc/Writers/Docx.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs index 4e81def60..b32be06ae 100644 --- a/src/Text/Pandoc/Writers/Docx.hs +++ b/src/Text/Pandoc/Writers/Docx.hs @@ -525,6 +525,7 @@ styleToOpenXml sm style = , mknode "w:link" [("w:val","VerbatimChar")] () , mknode "w:pPr" [] $ mknode "w:wordWrap" [("w:val","off")] () + : mknode "w:noProof" [] () : ( maybe [] (\col -> [mknode "w:shd" [("w:val","clear"),("w:fill",drop 1 $ fromColor col)] ()]) $ backgroundColor style ) ] -- cgit v1.2.3