server-generated webpages -> XHTML 1.0 Strict:

add XML namespace declaration to html element
This commit is contained in:
vibr 2004-08-13 15:49:19 +00:00
parent 6969b80206
commit 06ec0f0293
2 changed files with 2 additions and 2 deletions

View File

@ -416,7 +416,7 @@
(file-directory-options-back-icon-url options))
(blank-icon
(file-directory-options-blank-icon-url options)))
(with-tag port html ()
(with-tag port html (xmlnsdecl-attr)
(let ((title (string-append "Index of /"
(string-join file-path "/"))))
(with-tag port head ()

View File

@ -440,7 +440,7 @@
(receive (port file-header node-header up-header prev-header next-header)
(find-node file node find-file)
(with-tag out html ()
(with-tag out html (xmlnsdecl-attr)
(with-tag out head ()
(display-title file node-header up-header
prev-header next-header