Skip to content

Commit

Permalink
Don't sanitize first function in exportList
Browse files Browse the repository at this point in the history
There are 2 possibilities: either it is a function, in which case it
will already be sanitized by the callers, or it is exporting Text.Blaze,
in which case the sanitization was not needed (and since c645915, it
actually does the wrong thing)
  • Loading branch information
joerixaop committed Nov 6, 2010
1 parent e445141 commit 479cdb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Util/GenerateHtmlCombinators.hs
Expand Up @@ -149,7 +149,7 @@ exportList :: String -- ^ Module name.
exportList _ [] = error "exportList without functions."
exportList name (f:functions) = unlines $
[ LINE $ "module " ++ name
, LINE $ " ( " ++ sanitize f
, LINE $ " ( " ++ f
] ++
map (LINE . (" , " ++)) functions ++
[ LINE " ) where"]
Expand Down

0 comments on commit 479cdb5

Please sign in to comment.