summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-29 09:04:59 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-29 09:04:59 -0700
commit22a4adf4ec172545fb1ed72bb85c30dc1186de62 (patch)
treef1686ff6e48040f9692d973cf335af235cabfe58 /src
parent2e26046e1334d85efab9cfc2775cf59a66e8b459 (diff)
Add a type sig to satisfy ghc 7.10.3.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index 87f61126b..1641b991c 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -571,6 +571,7 @@ imgAttrsToHtml opts attr = do
dimensionsToAttrList :: Attr -> [(String, String)]
dimensionsToAttrList attr = consolidateStyles $ go Width ++ go Height
where
+ consolidateStyles :: [(String, String)] -> [(String, String)]
consolidateStyles xs =
case partition isStyle xs of
([], _) -> xs