Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | html-test: Always set language | Joachim Breitner | 2021-02-22 | 1 | -0/+6 |
| | | | | | | | | | | from ghc-9.2 on, the “default” langauge of GHC is expected to change more wildly. To prepare for that (and unblock https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4853), this sets the language for all the test files to `Haskell2010`. This should insolate this test suite against changes to the default. Cherry-picked from https://github.com/haskell/haddock/pull/1341 | ||||
* | Disallow links in section headers | Alec Theriault | 2020-03-28 | 1 | -0/+90 |
This is quite straightforward to implement, since we already had a function `docToHtmlNoAnchors` (which we used to generate the link in the sidebar "Contents"). This breaks test `Bug387`, but that test case has aged badly: we now automatically generate anchors for all headings, so manually adding an anchor in a section makes no sense. Nested anchors are, as pointed out in #1054, disallowed by the HTML standard. Fixes #1054 |