Function: org-html--todo

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

Signature

(org-html--todo TODO INFO)

Documentation

Format TODO keywords into HTML.

TODO is the keyword, as a string. INFO is the info plist.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
;;;; Todo

(defun org-html--todo (todo info)
  "Format TODO keywords into HTML.
TODO is the keyword, as a string.
INFO is the info plist."
  (when todo
    (format "<span class=\"%s %s%s\">%s</span>"
	    (if (member todo org-done-keywords) "done" "todo")
	    (or (plist-get info :html-todo-kwd-class-prefix) "")
	    (org-html-fix-class-name todo)
	    todo)))