From fbe4f09cd890183e62e8a9362d909e70e112b850 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Fri, 15 May 2009 09:21:46 +0200 Subject: [PATCH] HTML export: Add XML declaration Patch by Sebastian Rose --- lisp/ChangeLog | 4 ++++ lisp/org-html.el | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7c76fae88..68c175d30 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2009-05-15 Carsten Dominik + + * org-html.el (org-export-as-html): Add xml declaration. + 2009-05-14 Carsten Dominik * org.el (org-after-sorting-entries-or-items-hook): New hook. diff --git a/lisp/org-html.el b/lisp/org-html.el index 0124893bf..feee6dc57 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -669,7 +669,8 @@ PUB-DIR is set, use this as the publishing directory." (unless body-only ;; File header (insert (format - " + @@ -686,6 +687,7 @@ lang=\"%s\" xml:lang=\"%s\">
" + (or charset "iso-8859-1") language language (org-html-expand title) (or charset "iso-8859-1") date author description keywords