aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug308.hs
blob: 250a06227e03d5d94a4fa916e963512472b58e2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{-# LANGUAGE Haskell2010 #-}
-- From 2.14.x onwards we were forgetting to swallow ‘#’ as a special
-- character resulting in broken anchors if they occurred
-- mid-paragraph. Here we check that anchors get generated as
-- expected.
module Bug308 where

-- | start#startAnchor# followed by middle#middleAnchor# and end#endAnchor#
f :: ()
f = ()

{-|
start "Bug308#startAnchor"

startOldStyle "Bug308\#startAnchor"

middle "Bug308#middleAnchor"

end "Bug308#middleAnchor"
-}
g :: ()
g = ()