From 0183315fa02a5fd2046103a4f0d431fb033547a4 Mon Sep 17 00:00:00 2001 From: David Waern Date: Sun, 23 Nov 2008 17:13:21 +0000 Subject: FIX #45: generate two anchors for each name We generate two anchor tags for each name, one where we don't escape the name and one where we URI-encode it. This is for compatibility between IE and Opera. Test output is updated. --- tests/output/A.html | 6 +- tests/output/Bug1.html | 6 +- tests/output/Bug2.html | 2 + tests/output/Bug3.html | 2 + tests/output/Bug4.html | 2 + tests/output/Bug6.html | 38 ++++++- tests/output/Bug7.html | 10 +- tests/output/Bug8.html | 8 +- tests/output/Bugs.html | 6 +- tests/output/Hash.html | 22 +++- tests/output/NoLayout.html | 2 + tests/output/Test.html | 222 +++++++++++++++++++++++++++++++++++----- tests/output/TypeOperators.html | 32 +++++- tests/output/Visible.html | 2 + 14 files changed, 319 insertions(+), 41 deletions(-) (limited to 'tests') diff --git a/tests/output/A.html b/tests/output/A.html index b5858ddb..22521edf 100644 --- a/tests/output/A.html +++ b/tests/output/A.html @@ -70,7 +70,9 @@ >data A
Adata T
T
x ::
foo :: Int
foo :: Intdata A
A Intdata B
B
b :: Int
b :: data C
C
c1 :: Int
c2 :: Intdata D
D Int Intnewtype E
E Intdata Foo
Fooclass Bardata Typ
Type (String, [
TFree (String, [String])data A
A a (a -> Int)
The HashTable type
data HashTable
Operations on HashTables
new :: (Eq key,
insert :: (Eq key,
lookup ::
The Hash class
class Hash
hash :: a -> Int
g :: Int
Type declarations
Data types
data T
A Int (Maybe Float)
B (data T2data T3
A1 a
B1 bdata T4
A2 a
B2 bdata T5
A3 a
B3 bdata T6
A4
B4
C4newtype N1
N1 anewtype N2
N2
n :: a bnewtype N3
N3
n3 :: a bdata N4newtype N5
N5
n5 :: a bnewtype N6
N6
n6 :: a bnewtype N7
N7
n7 :: a b
Records
data R
C1
p :: Int
q ::
r :: Int
s :: Int
C2
t :: T1 ->
u :: Int
v :: Intdata R1
C3
classD a => a => C
s1 :: Int
s2 :: Int
s3 :: Int
p ::
q ::
u ::
Class declarations
a :: IO a
b :: [a]class D
d ::
e :: (a, a)class Eclass F
ff :: a
a ::
Function types
f ::
g :: Int -> IO CInt
Auxiliary stuff
A hidden module
hidden :: Int -> Int
A visible module
Existential / Universal types
data Exforall b . C b => b => Ex1forall b . b . Ex2forall b . C a => a => Ex3
Ex4 (
Type signatures with argument docs
k
l
m
o
A section
A subsection
f' :: Int
stuff
data a a :-:data (a (a :+:data Opnewtype O
O
unO :: g (f a)
biO :: (g `newtype Flip
Flip
unFlip :: a ~> b
visible :: Int -> Int