From b784ce8866d6f15f473ab30330d5efffec753e9e Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Mon, 15 Aug 2016 13:58:56 -0400 Subject: 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. --- src/Text/Pandoc/Writers/Docx.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') 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] -- cgit v1.2.3