From d67cc5b094a92a881754dc1954829cc12f217efc Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Sat, 28 Sep 2013 15:48:11 -0400 Subject: [PATCH] Switch from xhtml to plain html. Since that's the new way, according to Sam at least. --- new-racket-web/web/common/layout.rkt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/new-racket-web/web/common/layout.rkt b/new-racket-web/web/common/layout.rkt index a2a97930e7..0371ee766b 100644 --- a/new-racket-web/web/common/layout.rkt +++ b/new-racket-web/web/common/layout.rkt @@ -94,12 +94,13 @@ [(#f) (div class: 'bodycontent content0)] [else (div class: 'bodycontent style: @list{width: @|width|@";"} content0)]))) - @xhtml{@|| - @head - @(if body-attrs - (apply body `(,@body-attrs ,content)) - (body content)) - @||}) + @list{@doctype['html] + @html{@|| + @head + @(if body-attrs + (apply body `(,@body-attrs ,content)) + (body content)) + @||}}) (define this (and (not html-only?) (resource/referrer (get-path 'page id file "html" dir) (file-writer output-xml page)