summaryrefslogtreecommitdiff
path: root/ocamldoc
diff options
context:
space:
mode:
authorFlorian Angeletti <florian.angeletti@inria.fr>2023-04-05 17:50:08 +0200
committerFlorian Angeletti <florian.angeletti@inria.fr>2023-04-06 10:29:42 +0200
commitc29fd6c9b1451e6f02bd905d0e1fcaa729b818d9 (patch)
tree6e0e75e3fb2544e45ff6d91b2157c2a4a9f21869 /ocamldoc
parent12f812abcd46a818cd561e686210cec90edf0fec (diff)
downloadocaml-c29fd6c9b1451e6f02bd905d0e1fcaa729b818d9.tar.gz
ocamldoc: fix html doctype
Diffstat (limited to 'ocamldoc')
-rw-r--r--ocamldoc/odoc_html.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocamldoc/odoc_html.ml b/ocamldoc/odoc_html.ml
index 268a01b9c7..53d2c29bae 100644
--- a/ocamldoc/odoc_html.ml
+++ b/ocamldoc/odoc_html.ml
@@ -848,7 +848,7 @@ class html =
inherit info
val mutable doctype =
- "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n"
+ "<!DOCTYPE html>\n"
method character_encoding b =
bp b
"<meta content=\"text/html; charset=%s\" http-equiv=\"Content-Type\">\n"