\ No newline at end of file
diff --git a/tests/golden-tests/tests/B.html.ref b/tests/golden-tests/tests/B.html.ref
index 007d084b..0a971c13 100644
--- a/tests/golden-tests/tests/B.html.ref
+++ b/tests/golden-tests/tests/B.html.ref
@@ -1,84 +1,4 @@
-
-
-B
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Bug1.html.ref b/tests/golden-tests/tests/Bug1.html.ref
index 861b7ee7..8e6a97f2 100644
--- a/tests/golden-tests/tests/Bug1.html.ref
+++ b/tests/golden-tests/tests/Bug1.html.ref
@@ -1,150 +1,6 @@
-
-
-Bug1
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Bug2.html.ref b/tests/golden-tests/tests/Bug2.html.ref
index e344bd69..d887178e 100644
--- a/tests/golden-tests/tests/Bug2.html.ref
+++ b/tests/golden-tests/tests/Bug2.html.ref
@@ -1,90 +1,4 @@
-
-
-Bug2
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Bug3.html.ref b/tests/golden-tests/tests/Bug3.html.ref
index dc24ddd0..eec36ae3 100644
--- a/tests/golden-tests/tests/Bug3.html.ref
+++ b/tests/golden-tests/tests/Bug3.html.ref
@@ -1,116 +1,6 @@
-
-
-Bug3
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Bug4.html.ref b/tests/golden-tests/tests/Bug4.html.ref
index 1a09fff3..58d36734 100644
--- a/tests/golden-tests/tests/Bug4.html.ref
+++ b/tests/golden-tests/tests/Bug4.html.ref
@@ -1,115 +1,5 @@
-
-
-Bug4
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Bug6.html.ref b/tests/golden-tests/tests/Bug6.html.ref
index 3686fd6d..1d37b9b1 100644
--- a/tests/golden-tests/tests/Bug6.html.ref
+++ b/tests/golden-tests/tests/Bug6.html.ref
@@ -1,482 +1,12 @@
-
-
-Bug6
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Bug7.html.ref b/tests/golden-tests/tests/Bug7.html.ref
index 83ce5323..1601266b 100644
--- a/tests/golden-tests/tests/Bug7.html.ref
+++ b/tests/golden-tests/tests/Bug7.html.ref
@@ -1,244 +1,10 @@
-
-
-Bug7
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Bug8.html.ref b/tests/golden-tests/tests/Bug8.html.ref
index 907602b7..198a2039 100644
--- a/tests/golden-tests/tests/Bug8.html.ref
+++ b/tests/golden-tests/tests/Bug8.html.ref
@@ -1,135 +1,4 @@
-
-
-Bug8
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Bugs.html.ref b/tests/golden-tests/tests/Bugs.html.ref
index 75666af0..6d4f20ed 100644
--- a/tests/golden-tests/tests/Bugs.html.ref
+++ b/tests/golden-tests/tests/Bugs.html.ref
@@ -1,120 +1,4 @@
-
-
-Bugs
\ No newline at end of file
diff --git a/tests/golden-tests/tests/CrossPackageDocs.html.ref b/tests/golden-tests/tests/CrossPackageDocs.html.ref
index 375984dc..d62b64e4 100644
--- a/tests/golden-tests/tests/CrossPackageDocs.html.ref
+++ b/tests/golden-tests/tests/CrossPackageDocs.html.ref
@@ -1,525 +1,43 @@
-
-
-CrossPackageDocs
The Monad class defines the basic operations over a monad,
+a concept from a branch of mathematics known as category theory.
From the perspective of a Haskell programmer, however, it is best to
-think of a monad as an abstract datatype of actions.
-Haskell's do expressions provide a convenient syntax for writing
+think of a monad as an abstract datatype of actions.
+Haskell's do expressions provide a convenient syntax for writing
monadic expressions.
-
Sequentially compose two actions, discarding any value produced
by the first, like sequencing operators (such as the semicolon)
in imperative languages.
-
Fail with a message. This operation is not part of the
mathematical definition of a monad, but is invoked on pattern-match
- failure in a do expression.
-
The Handles are initially in binary mode; if you need them to be
+ in text mode then use hSetBinaryMode.
+
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Examples.html.ref b/tests/golden-tests/tests/Examples.html.ref
index 64634d26..5dc3885a 100644
--- a/tests/golden-tests/tests/Examples.html.ref
+++ b/tests/golden-tests/tests/Examples.html.ref
@@ -1,208 +1,22 @@
-
-
-Examples
\ No newline at end of file
diff --git a/tests/golden-tests/tests/FunArgs.html.ref b/tests/golden-tests/tests/FunArgs.html.ref
index f6c34bd4..7ee8220d 100644
--- a/tests/golden-tests/tests/FunArgs.html.ref
+++ b/tests/golden-tests/tests/FunArgs.html.ref
@@ -1,190 +1,13 @@
-
-
-FunArgs
\ No newline at end of file
diff --git a/tests/golden-tests/tests/GADTRecords.html.ref b/tests/golden-tests/tests/GADTRecords.html.ref
index 3875b1c6..ae0f7f24 100644
--- a/tests/golden-tests/tests/GADTRecords.html.ref
+++ b/tests/golden-tests/tests/GADTRecords.html.ref
@@ -1,288 +1,7 @@
-
-
-GADTRecords
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Hash.html.ref b/tests/golden-tests/tests/Hash.html.ref
index 3362368a..1b9dd550 100644
--- a/tests/golden-tests/tests/Hash.html.ref
+++ b/tests/golden-tests/tests/Hash.html.ref
@@ -1,476 +1,20 @@
-
-
-Hash
\ No newline at end of file
diff --git a/tests/golden-tests/tests/NamedDoc.html.ref b/tests/golden-tests/tests/NamedDoc.html.ref
index 3b1b7f1e..d649e67f 100644
--- a/tests/golden-tests/tests/NamedDoc.html.ref
+++ b/tests/golden-tests/tests/NamedDoc.html.ref
@@ -1,98 +1,5 @@
-
-
-NamedDoc
\ No newline at end of file
diff --git a/tests/golden-tests/tests/NoLayout.hs b/tests/golden-tests/tests/NoLayout.hs
index ac8e58bb..19b38b1d 100644
--- a/tests/golden-tests/tests/NoLayout.hs
+++ b/tests/golden-tests/tests/NoLayout.hs
@@ -4,7 +4,7 @@
-- This should probably be changed.
module NoLayout where {
- -- | the class 'C'
+ -- | the function 'g'
;
g :: Int;
g = undefined
diff --git a/tests/golden-tests/tests/NoLayout.html.ref b/tests/golden-tests/tests/NoLayout.html.ref
index 03128b86..e36b1c47 100644
--- a/tests/golden-tests/tests/NoLayout.html.ref
+++ b/tests/golden-tests/tests/NoLayout.html.ref
@@ -1,117 +1,5 @@
-
-
-NoLayout
\ No newline at end of file
diff --git a/tests/golden-tests/tests/NonGreedy.html.ref b/tests/golden-tests/tests/NonGreedy.html.ref
index 670fc34a..6910de26 100644
--- a/tests/golden-tests/tests/NonGreedy.html.ref
+++ b/tests/golden-tests/tests/NonGreedy.html.ref
@@ -1,115 +1,5 @@
-
-
-NonGreedy
\ No newline at end of file
diff --git a/tests/golden-tests/tests/QuasiExpr.html.ref b/tests/golden-tests/tests/QuasiExpr.html.ref
index 2cb316b1..a7faca6b 100644
--- a/tests/golden-tests/tests/QuasiExpr.html.ref
+++ b/tests/golden-tests/tests/QuasiExpr.html.ref
@@ -1,346 +1,4 @@
-
-
-QuasiExpr
\ No newline at end of file
diff --git a/tests/golden-tests/tests/QuasiQuote.html.ref b/tests/golden-tests/tests/QuasiQuote.html.ref
index 4de6086b..1747c539 100644
--- a/tests/golden-tests/tests/QuasiQuote.html.ref
+++ b/tests/golden-tests/tests/QuasiQuote.html.ref
@@ -1,90 +1,4 @@
-
-
-QuasiQuote
\ No newline at end of file
diff --git a/tests/golden-tests/tests/TH.html.ref b/tests/golden-tests/tests/TH.html.ref
index 4d2e0b09..3b636405 100644
--- a/tests/golden-tests/tests/TH.html.ref
+++ b/tests/golden-tests/tests/TH.html.ref
@@ -1,89 +1,4 @@
-
-
-TH
\ No newline at end of file
diff --git a/tests/golden-tests/tests/TH2.html.ref b/tests/golden-tests/tests/TH2.html.ref
index f7aaf18f..63b4a7ba 100644
--- a/tests/golden-tests/tests/TH2.html.ref
+++ b/tests/golden-tests/tests/TH2.html.ref
@@ -1,71 +1,4 @@
-
-
-TH2
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Test.html.ref b/tests/golden-tests/tests/Test.html.ref
index 3c839612..bbf501b8 100644
--- a/tests/golden-tests/tests/Test.html.ref
+++ b/tests/golden-tests/tests/Test.html.ref
@@ -1,3110 +1,148 @@
-
-
-Test
In a comment string we can refer to identifiers in scope with
-single quotes like this: T, and we can refer to modules by
-using double quotes: Foo. We can add emphasis like this.
-
This is a bulleted list
-
This is the next item (different kind of bullet)
-
This is an ordered list
-
2. This is the next item (different kind of bullet)
-
- This is a block of code, which can include other markup: R
+
In a comment string we can refer to identifiers in scope with
+single quotes like this: T, and we can refer to modules by
+using double quotes: Foo. We can add emphasis like this.
+
This is a bulleted list
+
This is the next item (different kind of bullet)
+
This is an ordered list
+
This is the next item (different kind of bullet)
+
cat
a small, furry, domesticated mammal
+
pineapple
a fruit grown in the tropics
+
+ This is a block of code, which can include other markup: R
formatting
is
significant
-
This is some documentation that is attached to a name ($aux1)
rather than a source declaration. The documentation may be
referred to in the export list using its name.
-
code block in named doc
This is some documentation that is attached to a name ($aux2)
-
code block on its own in named doc
code block on its own in named doc (after newline)
a nested, named doc comment
-
with a paragraph,
-
and a code block
test
+
code block in named doc
This is some documentation that is attached to a name ($aux2)
+
code block on its own in named doc
code block on its own in named doc (after newline)
a nested, named doc comment
+
with a paragraph,
+
and a code block
test
test1
-
test2
+
test2
test3
-
+
test1
test2
-
test3
+
test3
test4
-
+
test1
test2
-
test3
+
test3
test4
-
test3
+
test3
test4
-
+
test1
test2
-
aux11:
-
test3
+
aux11:
+
test3
test4
-
+
test1
test2
-
foo
-
bar
-
This is some inline documentation in the export list
-
a code block using bird-tracks
+
foo
+
bar
+
This is some inline documentation in the export list
+
a code block using bird-tracks
each line must begin with > (which isn't significant unless it
is at the beginning of the line).
-
This argument has a very long description that should
hopefully cause some wrapping to happen when it is finally
rendered by Haddock in the generated HTML page.
-
...given a raw Addr# to the string, and the length of the string.
+
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Ticket61.html.ref b/tests/golden-tests/tests/Ticket61.html.ref
index 7931bbf8..bfdaa4df 100644
--- a/tests/golden-tests/tests/Ticket61.html.ref
+++ b/tests/golden-tests/tests/Ticket61.html.ref
@@ -1,128 +1,5 @@
-
-
-Ticket61
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Ticket75.html.ref b/tests/golden-tests/tests/Ticket75.html.ref
index 1490c1dc..e84010e1 100644
--- a/tests/golden-tests/tests/Ticket75.html.ref
+++ b/tests/golden-tests/tests/Ticket75.html.ref
@@ -1,174 +1,5 @@
-
-
-Ticket75
\ No newline at end of file
diff --git a/tests/golden-tests/tests/TypeFamilies.html.ref b/tests/golden-tests/tests/TypeFamilies.html.ref
index 101c5c80..b649aced 100644
--- a/tests/golden-tests/tests/TypeFamilies.html.ref
+++ b/tests/golden-tests/tests/TypeFamilies.html.ref
@@ -1,316 +1,9 @@
-
-
-TypeFamilies
\ No newline at end of file
diff --git a/tests/golden-tests/tests/TypeOperators.html.ref b/tests/golden-tests/tests/TypeOperators.html.ref
index 787737e7..f1e4bc35 100644
--- a/tests/golden-tests/tests/TypeOperators.html.ref
+++ b/tests/golden-tests/tests/TypeOperators.html.ref
@@ -1,388 +1,6 @@
-
-
-TypeOperators
\ No newline at end of file
diff --git a/tests/golden-tests/tests/Visible.html.ref b/tests/golden-tests/tests/Visible.html.ref
index 5a16acb0..92975799 100644
--- a/tests/golden-tests/tests/Visible.html.ref
+++ b/tests/golden-tests/tests/Visible.html.ref
@@ -1,91 +1,4 @@
-
-
-Visible