aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-01 15:21:55 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-01 15:21:55 -0700
commit8d39d03d05728dd8cb17f884525fa2e26794441c (patch)
tree7181a29f17e90d51d7e6a53709604a2ef411b233 /src
parentcde1f3b6b493d485f14b4c2e53b5d5c2a7121140 (diff)
downloadpandoc-8d39d03d05728dd8cb17f884525fa2e26794441c.tar.gz
Added "noProof" to docx syntax highlighting SourceCode style.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/Docx.hs1
1 files changed, 1 insertions, 0 deletions
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 )
]