0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-26 12:32:53 +00:00

HTML export: Add the xml declaration again.

This commit is contained in:
Carsten Dominik 2009-05-18 17:15:19 +02:00
parent f6f5e23b0c
commit e96b09edff

View file

@ -669,8 +669,8 @@ PUB-DIR is set, use this as the publishing directory."
(unless body-only (unless body-only
;; File header ;; File header
(insert (format (insert (format
; "<?xml version=\"1.0\" encoding=\"%s\"?> "<?xml version=\"1.0\" encoding=\"%s\"?>
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"> \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\" <html xmlns=\"http://www.w3.org/1999/xhtml\"
lang=\"%s\" xml:lang=\"%s\"> lang=\"%s\" xml:lang=\"%s\">
@ -687,7 +687,7 @@ lang=\"%s\" xml:lang=\"%s\">
<body> <body>
<div id=\"content\"> <div id=\"content\">
" "
; (or charset "iso-8859-1") (or charset "iso-8859-1")
language language (org-html-expand title) language language (org-html-expand title)
(or charset "iso-8859-1") (or charset "iso-8859-1")
date author description keywords date author description keywords