Luis Felipe López Acevedo <felipe.lo...@openmailbox.org> skribis:

> On 2015-05-24 17:48, Luis Felipe López Acevedo wrote:
>>
>> Hi Adam.
>>
>> Yes, I'm aware of those. Most of them are because of a missing Doctype
>> definition on all pages, and because of using XML syntax in
>> self-closing elements. Part of that is related to the current SXML to
>> XML conversion method.
>
> I meant to say that the pages are missing a Document type declaration,

Would the following be enough?

diff --git a/website/www.scm b/website/www.scm
index 5cb0f7f..f2969e2 100644
--- a/website/www.scm
+++ b/website/www.scm
@@ -335,6 +335,7 @@ the broader GNU system.")
   (mkdir* (dirname file))
   (call-with-output-file file
     (lambda (port)
+      (display "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n" port)
       (sxml->xml page port))))
 
 (define* (export-web-site #:optional (directory "."))
Thanks,
Ludo’.

Reply via email to