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.
commitb784ce8866d6f15f473ab30330d5efffec753e9e
authorJesse Rosenthal <jrosenthal@jhu.edu>
dateMon 15 Aug 2016, 13:58 (10 years ago)
parent2870c9b
src/Text/Pandoc/Writers/Docx.hs+1−1
@@ -764,7 +764,7 @@ getUniqueId = liftIO $ (show . (+ 20) . hashUnique) `fmap` newUnique
764764
765765-- | Key for specifying user-defined docx styles.
766766dynamicStyleKey :: String
767−dynamicStyleKey = "docx-style"
767+dynamicStyleKey = "custom-style"
768768
769769-- | Convert a Pandoc block element to OpenXML.
770770blockToOpenXML :: WriterOptions -> Block -> WS [Element]