Fix anchor fragment links

This commit is contained in:
Reynir Björnsson 2021-02-12 09:11:53 +01:00
parent 031a2042b0
commit ac43298620

View file

@ -237,19 +237,19 @@ let compare_opam build_left build_right (same, version_diff, left, right) =
]; ];
ul [ ul [
li [ li [
a ~a:[a_href "packages-removed"] a ~a:[a_href "#packages-removed"]
[txtf "%d packages removed" (OpamPackage.Set.cardinal left)] [txtf "%d packages removed" (OpamPackage.Set.cardinal left)]
]; ];
li [ li [
a ~a:[a_href "packages-installed"] a ~a:[a_href "#packages-installed"]
[txtf "%d new packages installed" (OpamPackage.Set.cardinal right)] [txtf "%d new packages installed" (OpamPackage.Set.cardinal right)]
]; ];
li [ li [
a ~a:[a_href "packages-diff"] a ~a:[a_href "#packages-diff"]
[txtf "%d packages with version changes" (List.length version_diff)] [txtf "%d packages with version changes" (List.length version_diff)]
]; ];
li [ li [
a ~a:[a_href "packages-unchanged"] a ~a:[a_href "#packages-unchanged"]
[txtf "%d packages unchanged" (OpamPackage.Set.cardinal same)] [txtf "%d packages unchanged" (OpamPackage.Set.cardinal same)]
]; ];
]; ];