aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-01-13 02:16:54 +0000
committerAustin Seipp <austin@well-typed.com>2014-01-13 02:39:25 -0600
commit764a6b85b686dee3d93e130bd650ee33a985aca2 (patch)
tree56f209bc1722fcd73054a04b243ae53a0fad04c9
parent2e3f0b8369a0fc4283f0909305f15af3a82086b7 (diff)
Fixes #271
Signed-off-by: Austin Seipp <austin@well-typed.com>
-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),