aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/coqdoc/output.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/coqdoc/output.ml b/tools/coqdoc/output.ml
index 5edf2b0d77..717c06a868 100644
--- a/tools/coqdoc/output.ml
+++ b/tools/coqdoc/output.ml
@@ -929,9 +929,9 @@ module Html = struct
stop_item ();
let ms = match sub with | None -> m | Some s -> m ^ ": " ^ s in
if ln = "" then
- printf "<a href=\"%s.html\"><h2>%s</h2></a>\n" m ms
+ printf "<h2><a href=\"%s.html\">%s</a></h2>\n" m ms
else
- printf "<a href=\"%s.html\"><h2>%s %s</h2></a>\n" m ln ms
+ printf "<h2><a href=\"%s.html\">%s %s</a></h2>\n" m ln ms
| Toc_section (n, f, r) ->
item n;
printf "<a href=\"%s\">" r; f (); printf "</a>\n"