aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2016-08-15 13:58:56 -0400
committerJesse Rosenthal <jrosenthal@jhu.edu>2016-08-15 13:58:56 -0400
commitb784ce8866d6f15f473ab30330d5efffec753e9e (patch)
treeb3a070f226e6ed9f34d2866bd75bb1354cee5588 /src/Text/Pandoc/Writers
parent2870c9be0028140991e7c672895b484ec2931102 (diff)
downloadpandoc-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/Writers')
-rw-r--r--src/Text/Pandoc/Writers/Docx.hs2
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]