Skip to content

Commit f434e40

Browse files
author
Jan Bracker
committed
Show instance now prints in one line.
1 parent 86a2688 commit f434e40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Diagrams/Backend/SVG.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ import Data.Monoid.Split (Split (..))
9797
import Text.Blaze.Svg.Renderer.Utf8 (renderSvg)
9898
import Text.Blaze.Svg11 ((!))
9999
import qualified Text.Blaze.Svg11 as S
100-
import qualified Text.Blaze.Svg.Renderer.Pretty as PrettySvg
100+
import qualified Text.Blaze.Svg.Renderer.String as StringSvg
101101

102102
-- from this package
103103
import qualified Graphics.Rendering.SVG as R
@@ -221,7 +221,7 @@ instance Show (Options SVG R2) where
221221
, "svgDefinitions = "
222222
, case svgDefinitions opts of
223223
Nothing -> "Nothing"
224-
Just svg -> "Just " ++ PrettySvg.renderSvg svg
224+
Just svg -> "Just " ++ StringSvg.renderSvg svg
225225
, " }"
226226
]
227227

0 commit comments

Comments
 (0)