diff options
author | Mark Lentczner <markl@glyphic.com> | 2010-07-16 22:41:53 +0000 |
---|---|---|
committer | Mark Lentczner <markl@glyphic.com> | 2010-07-16 22:41:53 +0000 |
commit | efcaa44c353503aa7384de55091be70ac5fbb4ed (patch) | |
tree | 73ae1532dc0d5110401bf99a40e0d0bf23796e21 /src/Haddock/Backends/Xhtml/Layout.hs | |
parent | dd861488e115b4419f2b9f6f6422adaa4041287f (diff) |
convert index to new markup
Diffstat (limited to 'src/Haddock/Backends/Xhtml/Layout.hs')
-rw-r--r-- | src/Haddock/Backends/Xhtml/Layout.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Backends/Xhtml/Layout.hs b/src/Haddock/Backends/Xhtml/Layout.hs index b6818b61..616b3b95 100644 --- a/src/Haddock/Backends/Xhtml/Layout.hs +++ b/src/Haddock/Backends/Xhtml/Layout.hs @@ -135,7 +135,7 @@ subInstances :: String -> [SubDecl] -> Html subInstances id_ = divSubDecls "instances" instCaption . instTable where instCaption = collapsebutton id_ +++ " Instances" - instTable = (collapsed thediv id_ `fmap`) . subTable + instTable = fmap (thediv ! [identifier id_] <<) . subTable subMethods :: [Html] -> Html subMethods = divSubDecls "methods" "Methods" . subBlock |