aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug308.hs
blob: 93ecffac3b978d54dac753a61ba512cad48e325d (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 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 = ()