aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-01-22 10:49:52 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-25 17:07:43 +0100
commit6f9df9b4f1d3d22c53b9d6f3c333efc23a84ffe7 (patch)
tree893569ab05b53665d12a1b0476f71fd3fc7080e2
parent01483f91bd152ad806a8110d75353edfc9551ec8 (diff)
downloadpandoc-6f9df9b4f1d3d22c53b9d6f3c333efc23a84ffe7.tar.gz
Removed vestigial writerMediaBag from WriterOptions.
API change.
-rw-r--r--src/Text/Pandoc/Options.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs
index cd10abeff..3a787a733 100644
--- a/src/Text/Pandoc/Options.hs
+++ b/src/Text/Pandoc/Options.hs
@@ -47,7 +47,6 @@ module Text.Pandoc.Options ( module Text.Pandoc.Extensions
import Text.Pandoc.Extensions
import Data.Default
import Text.Pandoc.Highlighting (Style, pygments)
-import Text.Pandoc.MediaBag (MediaBag)
import Data.Data (Data)
import Data.Typeable (Typeable)
import GHC.Generics (Generic)
@@ -182,7 +181,6 @@ data WriterOptions = WriterOptions
, writerEpubChapterLevel :: Int -- ^ Header level for chapters (separate files)
, writerTOCDepth :: Int -- ^ Number of levels to include in TOC
, writerReferenceDoc :: Maybe FilePath -- ^ Path to reference document if specified
- , writerMediaBag :: MediaBag -- ^ Media collected by docx or epub reader
, writerVerbose :: Bool -- ^ Verbose debugging output
, writerLaTeXArgs :: [String] -- ^ Flags to pass to latex-engine
, writerReferenceLocation :: ReferenceLocation -- ^ Location of footnotes and references for writing markdown
@@ -226,7 +224,6 @@ instance Default WriterOptions where
, writerEpubChapterLevel = 1
, writerTOCDepth = 3
, writerReferenceDoc = Nothing
- , writerMediaBag = mempty
, writerVerbose = False
, writerLaTeXArgs = []
, writerReferenceLocation = EndOfDocument