diff --git a/lisp/org-html.el b/lisp/org-html.el index 99f4bab31..827765788 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -669,8 +669,7 @@ PUB-DIR is set, use this as the publishing directory." (unless body-only ;; File header (insert (format - " - @@ -687,7 +686,10 @@ lang=\"%s\" xml:lang=\"%s\">
" - (or charset "iso-8859-1") + (if (equal html-extension "php") + "" ; protect php files from short tag problem FIXME + (format "\n" + (or charset "iso-8859-1"))) language language (org-html-expand title) (or charset "iso-8859-1") date author description keywords