aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHugo Herbelin2020-07-24 22:35:17 +0200
committerHugo Herbelin2020-07-24 22:37:33 +0200
commit56ab65848cb894bfe656022b17d1e1687811708a (patch)
treed2140426953383e8af4269c6680f21be9ccecc30 /tools
parente9061bb414dfebad5bdf2efe634030563f8a2381 (diff)
Fixes #12752 (applying symbol escaping in index produced by coqdoc).
This is to avoid collision with the syntax of the host output language.
Diffstat (limited to 'tools')
-rw-r--r--tools/coqdoc/output.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/coqdoc/output.ml b/tools/coqdoc/output.ml
index def1cbbcf8..32cf05e1eb 100644
--- a/tools/coqdoc/output.ml
+++ b/tools/coqdoc/output.ml
@@ -838,7 +838,7 @@ module Html = struct
printf "<a id=\"%s_%c\"></a><h2>%s %s</h2>\n" idx c (display_letter c) cat;
List.iter
(fun (id,(text,link,t)) ->
- let id' = prepare_entry id t in
+ let id' = escaped (prepare_entry id t) in
printf "<a href=\"%s\">%s</a> %s<br/>\n" link id' text) l;
printf "<br/><br/>"
end