]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 5e7e7d95f9b4aadd3dba817037b543fca480cd95..e7c38df5629317445c0f052cbc39fa60b3f91083 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"))