diff --git a/Slides.cabal b/Slides.cabal
--- a/Slides.cabal
+++ b/Slides.cabal
@@ -1,5 +1,5 @@
 name:                Slides
-version:             0.1.0.8
+version:             0.1.0.9
 synopsis:            Generate slides from Haskell code
 description:         Make presentations in Haskell with diagrams
 license:             MIT
@@ -21,12 +21,12 @@
                      , Slides.Common
   other-modules:       Slides.Sequencing
                      , Slides.Internal
-  build-depends:       base >=4.8 && <4.9
-                     , diagrams-svg == 1.3.*
+  build-depends:       base >=4.8 && < 5
+                     , diagrams-svg >= 1.4 && < 1.5
                      , colour == 2.3.*
                      , file-embed == 0.0.*
                      , regex-applicative == 0.3.*
-                     , diagrams-lib == 1.3.*
+                     , diagrams-lib >= 1.3 && < 1.4
   ghc-options:         -Wall
   hs-source-dirs:      src
   default-language:    Haskell2010
diff --git a/src/Slides/Internal.hs b/src/Slides/Internal.hs
--- a/src/Slides/Internal.hs
+++ b/src/Slides/Internal.hs
@@ -24,7 +24,7 @@
 svgFromDiagram :: Int -> Diagram SVG -> String
 svgFromDiagram h = dropAllButSvg
                  . show
-                 . Diag.renderDia SVG (SVG.SVGOptions (Diag.mkHeight $ fromIntegral h) Nothing "")
+                 . Diag.renderDia SVG (SVG.SVGOptions (Diag.mkHeight $ fromIntegral h) Nothing "" [] True)
 
 renderLeafContent :: ContentNode -> String
 renderLeafContent (Header h s) = html ("h" ++ show h) s
