summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-11-22 07:38:51 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-11-22 07:38:51 -0800
commita7f6241f508eb78047889c8e7c391d39f99b59ae (patch)
treead02abd2bd7f1c9f5e17895049a5060aa148ce9e /src/Text/Pandoc
parent4b293a6a547cf6b9264a2f257e6fc88a0fc0f5ad (diff)
hlint fixes.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/CSS.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Text/Pandoc/CSS.hs b/src/Text/Pandoc/CSS.hs
index 9d0c84243..f829ebf82 100644
--- a/src/Text/Pandoc/CSS.hs
+++ b/src/Text/Pandoc/CSS.hs
@@ -14,9 +14,7 @@ ruleParser = do
return (trim p, trim v)
styleAttrParser :: Parser [(String, String)]
-styleAttrParser = do
- p <- many1 ruleParser
- return p
+styleAttrParser = many1 ruleParser
orElse :: Eq a => a -> a -> a -> a
orElse v x y = if v == x then y else x