diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-08-15 13:58:56 -0400 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-08-15 13:58:56 -0400 |
commit | b784ce8866d6f15f473ab30330d5efffec753e9e (patch) | |
tree | b3a070f226e6ed9f34d2866bd75bb1354cee5588 /src/Text/Pandoc | |
parent | 2870c9be0028140991e7c672895b484ec2931102 (diff) | |
download | pandoc-b784ce8866d6f15f473ab30330d5efffec753e9e.tar.gz |
Docx Writer: change dynamic style key
Use "custom-style" instead of "docx-style." This allows it to be used in
other formats like ODT in the future.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/Docx.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs index fd2670206..5b8b44326 100644 --- a/src/Text/Pandoc/Writers/Docx.hs +++ b/src/Text/Pandoc/Writers/Docx.hs @@ -764,7 +764,7 @@ getUniqueId = liftIO $ (show . (+ 20) . hashUnique) `fmap` newUnique -- | Key for specifying user-defined docx styles. dynamicStyleKey :: String -dynamicStyleKey = "docx-style" +dynamicStyleKey = "custom-style" -- | Convert a Pandoc block element to OpenXML. blockToOpenXML :: WriterOptions -> Block -> WS [Element] |