aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--src/Haddock/Backends/Xhtml.hs2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 3e7e8a2f..8793c588 100644
--- a/CHANGES
+++ b/CHANGES
@@ -25,6 +25,8 @@ Changes in version 2.14.0
* {-# OPTIONS_HADDOCK show-extensions #-} pragma will show the GHC extensions
enabled in the module.
+ * Properly render License field (#271)
+
Changes in version 2.13.2
* Handle HsExplicitListTy in renamer (#213)
diff --git a/src/Haddock/Backends/Xhtml.hs b/src/Haddock/Backends/Xhtml.hs
index 1b6d7fe5..d61478a8 100644
--- a/src/Haddock/Backends/Xhtml.hs
+++ b/src/Haddock/Backends/Xhtml.hs
@@ -203,7 +203,7 @@ moduleInfo iface =
entries :: [HtmlTable]
entries = mapMaybe doOneEntry [
("Copyright",hmi_copyright),
- ("License",hmi_copyright),
+ ("License",hmi_license),
("Maintainer",hmi_maintainer),
("Stability",hmi_stability),
("Portability",hmi_portability),