aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug308.hs
blob: 3adb37468a9950d0c8f78cd560733a10c840728d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- From 2.14.x onwards we were forgetting to swallow ‘#’ as a special
-- character resulting in broken anchors if they accured
-- 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 = ()