diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2013-04-08 00:17:10 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2013-04-08 00:17:10 +0200 |
commit | 1af215bb4668bf3e778175e68fcaf0cb7702f585 (patch) | |
tree | 6c8b6b60fbe5891f3f379f0addd0348ae77b78da | |
parent | bf8c341f4e70f95deaa9135b0cbc154908cb8667 (diff) | |
download | org-mode-1af215bb4668bf3e778175e68fcaf0cb7702f585.tar.gz |
ox-html: Tiny fix and outdated comments removal
* lisp/ox-html.el (org-html-doctype): Make value fit on a single line
so `org-export-insert-default-template' can handle it.
-rw-r--r-- | lisp/ox-html.el | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el index bce30ca..39b0ec9 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -124,11 +124,10 @@ (:html-head-include-default-style "HTML_INCLUDE_STYLE" nil org-html-head-include-default-style newline) (:html-head-include-scripts "HTML_INCLUDE_SCRIPTS" nil org-html-head-include-scripts newline) (:html-table-tag nil nil org-html-table-tag) + (:infojs-opt "INFOJS_OPT" nil nil) ;; Redefine regular options. (:creator "CREATOR" nil org-html-creator-string) - (:with-latex nil "tex" org-html-with-latex) - ;; Leave room for "ox-infojs.el" extension. - (:infojs-opt "INFOJS_OPT" nil nil))) + (:with-latex nil "tex" org-html-with-latex))) ;;; Internal Variables @@ -870,8 +869,7 @@ Use utf-8 as the default value." :type 'coding-system) (defcustom org-html-doctype - "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" - \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">" + "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">" "Document type definition to use for exported HTML files. Can be set with the in-buffer HTML_DOCTYPE property or for publishing, with :html-doctype." @@ -3292,7 +3290,6 @@ Return output file name." ;;;; org-html-inline-image-extensions ;;;; org-export-preferred-target-alist ;;;; class for anchors -;;;; org-export-with-section-numbers, body-only ;;;; org-export-mark-todo-in-toc ;;;; org-html-format-org-link ;;;; (caption (and caption (org-xml-encode-org-text caption))) |