Commits

Bryan O'Sullivan  committed 4eefba8

Switch to span tags for anchoring

  • Participants
  • Parent commits 160095d

Comments (0)

Files changed (2)

File www/bootstrap-custom.css

     background-color: #f5f5f5;
 }
 
-a[href] > code { color: #02d; }
-a[href] > code:hover { color: #44f; }
+a > code { color: #02d; }
+a > code:hover { color: #44f; }
 div.nav.bs-docs-sidenav > ul { list-style-type: none; }
 div.nav.bs-docs-sidenav > ul > li > ul { list-style-type: none; }
 

File www/tutorial.md

 We use
 [`nfIO`](http://hackage.haskell.org/package/criterion/docs/Criterion-Main.html#v:nfIO)
 to specify that after we run the `IO` action, its result must be
-evaluated to <a name="normal-form">**normal form**</a>, i.e. so that
+evaluated to <span id="normal-form">normal form</span>, i.e. so that
 all of its internal constructors are fully evaluated, and it contains
 no thunks.
 
 [`whnfIO`](http://hackage.haskell.org/package/criterion/docs/Criterion-Main.html#v:whnfIO)
 function that evaluates the result of an action only deep enough for
 the outermost constructor to be known (using `seq`).  This is known as
-<a name="weak-head-normal-form">**weak head normal form** (WHNF)</a>.
+<span id="weak-head-normal-form">**weak head normal form** (WHNF)</span>.
 
 ~~~~ {.haskell}
 whnfIO :: IO a -> IO ()