aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/coq2html.mll30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/coq2html.mll b/doc/coq2html.mll
index a5b284e2..cdc844dc 100644
--- a/doc/coq2html.mll
+++ b/doc/coq2html.mll
@@ -234,30 +234,30 @@ let end_proof kwd =
in_proof := false
let start_html_page modname =
- fprintf !oc "\
-<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
-<html xmlns=\"http://www.w3.org/1999/xhtml\">
+ fprintf !oc
+{|<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Module %s</title>
-<meta name=\"description\" content=\"Documentation of Coq module %s\" />
-<link href=\"coq2html.css\" rel=\"stylesheet\" type=\"text/css\" />
-<script type=\"text/javascript\" src=\"coq2html.js\"> </script>
+<meta name="description" content="Documentation of Coq module %s" />
+<link href="coq2html.css" rel="stylesheet" type="text/css" />
+<script type="text/javascript" src="coq2html.js"> </script>
</head>
-<body onload=\"hideAll('proofscript')\">
-<h1 class=\"title\">Module %s</h1>
-<div class=\"coq\">
-" modname modname modname
+<body onload="hideAll('proofscript')">
+<h1 class="title">Module %s</h1>
+<div class="coq">
+|} modname modname modname
let end_html_page () =
- fprintf !oc "\
-</div>
-<div class=\"footer\"><hr/>Generated by coq2html</div>
+ fprintf !oc
+{|</div>
+<div class="footer"><hr/>Generated by coq2html</div>
</body>
</html>
-"
+|}
}