aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Main.hs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 93b1927d..36773691 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -191,12 +191,12 @@ render flags ifaces installedIfaces = do
-- which HTML redering to use
pick htmlF xhtmlF = if (Flag_Xhtml `elem` flags) then xhtmlF else htmlF
- ppHtmlIndex = pick Html.ppHtmlIndex Xhtml.ppHtmlIndex
- ppHtmlHelpFiles = pick Html.ppHtmlHelpFiles Xhtml.ppHtmlHelpFiles
- ppHtmlContents = pick Html.ppHtmlContents Xhtml.ppHtmlContents
- ppHtml = pick Html.ppHtml Xhtml.ppHtml
- copyHtmlBits = pick Html.copyHtmlBits Xhtml.copyHtmlBits
-
+ ppHtmlIndex = pick Html.ppHtmlIndex Xhtml.ppHtmlIndex
+ ppHtmlHelpFiles = pick Html.ppHtmlHelpFiles Xhtml.ppHtmlHelpFiles
+ ppHtmlContents = pick Html.ppHtmlContents Xhtml.ppHtmlContents
+ ppHtml = pick Html.ppHtml Xhtml.ppHtml
+ copyHtmlBits = pick Html.copyHtmlBits Xhtml.copyHtmlBits
+
libDir <- getHaddockLibDir flags
prologue <- getPrologue flags