(html-tag-alist): Add /head and /body to the "html" template.
authorRichard M. Stallman <rms@gnu.org>
Fri, 26 Feb 1999 16:40:13 +0000 (16:40 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 26 Feb 1999 16:40:13 +0000 (16:40 +0000)
lisp/textmodes/sgml-mode.el

index 5e7e7d9..e7c38df 100644 (file)
@@ -1020,10 +1020,13 @@ This takes effect when first loading the library.")
       ("html" (\n
               "<head>\n"
               "<title>" (setq str (read-input "Title: ")) "</title>\n"
+              "</head>\n"
               "<body>\n<h1>" str "</h1>\n" _
               "\n<address>\n<a href=\"mailto:"
               user-mail-address
-              "\">" (user-full-name) "</a>\n</address>"))
+              "\">" (user-full-name) "</a>\n</address>\n"
+              "</body>"
+               ))
       ("i")
       ("ins")
       ("isindex" t ("action") ("prompt"))