From 56ab65848cb894bfe656022b17d1e1687811708a Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Fri, 24 Jul 2020 22:35:17 +0200 Subject: Fixes #12752 (applying symbol escaping in index produced by coqdoc). This is to avoid collision with the syntax of the host output language. --- tools/coqdoc/output.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 "

%s %s

\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 "%s %s
\n" link id' text) l; printf "

" end -- cgit v1.2.3