proper </html>;
authorwenzelm
Mon, 11 Jan 2021 15:43:51 +0100
changeset 73129 ff9cd62d2d20
parent 73128 b15fe413b4d2
child 73130 5f8f7746b4aa
proper </html>;
src/Pure/Thy/html.scala
--- a/src/Pure/Thy/html.scala	Sun Jan 10 22:17:11 2021 +0100
+++ b/src/Pure/Thy/html.scala	Mon Jan 11 15:43:51 2021 +0100
@@ -330,6 +330,8 @@
     """<!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">"""
 
+  val footer: String = """</html>"""
+
   val head_meta: XML.Elem =
     XML.Elem(Markup("meta",
       List("http-equiv" -> "Content-Type", "content" -> "text/html; charset=utf-8")), Nil)
@@ -340,12 +342,14 @@
     structural: Boolean = true): String =
   {
     cat_lines(
-      List(header,
+      List(
+        header,
         output(
           XML.elem("head", head_meta :: (if (css == "") Nil else List(style_file(css))) ::: head),
           hidden = hidden, structural = structural),
         output(XML.elem("body", body),
-          hidden = hidden, structural = structural)))
+          hidden = hidden, structural = structural),
+        footer))
   }