Function: org-html-doctype

org-html-doctype is a byte-compiled function defined in ox-html.el.gz.

Signature

(org-html-doctype INFO)

Documentation

Return correct HTML doctype tag.

INFO is a plist used as a communication channel. Doctype tag is extracted from org-html-doctype-alist, or the literal value of :html-doctype from INFO if :html-doctype is not found in the alist.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
(defun org-html-doctype (info)
  "Return correct HTML doctype tag.
INFO is a plist used as a communication channel.  Doctype tag is
extracted from `org-html-doctype-alist', or the literal value
of :html-doctype from INFO if :html-doctype is not found in the
alist."
  (let ((dt (plist-get info :html-doctype)))
    (or (cdr (assoc dt org-html-doctype-alist)) dt)))