mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-26 07:33:39 +00:00
HTML export: Add CSS class for TODO keyword in inline tasks
Request by Karl Maihofer.
This commit is contained in:
parent
68d32abb0c
commit
436e4282b1
@ -1,5 +1,8 @@
|
||||
2010-01-01 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
|
||||
for TODO keyword in inline tasks.
|
||||
|
||||
* org.el (org-log-note-headings): New headings for removing
|
||||
deadline or scheduling date.
|
||||
(org-deadline, org-schedule): Arrange for logging when removing a
|
||||
|
@ -149,7 +149,17 @@ Either remove headline and meta data, or do special formatting."
|
||||
(when (string-match org-complex-heading-regexp headline)
|
||||
(setq headline (concat
|
||||
(if (match-end 2)
|
||||
(concat (match-string 2 headline) " ") "")
|
||||
(concat
|
||||
(org-add-props
|
||||
(format
|
||||
"@<span class=\"%s %s\"> %s@</span>"
|
||||
(if (member (match-string 2 headline)
|
||||
org-done-keywords)
|
||||
"done" "todo")
|
||||
(match-string 2 headline)
|
||||
(match-string 2 headline))
|
||||
nil 'org-protected t)
|
||||
" ") "")
|
||||
(match-string 4 headline)))
|
||||
(when content
|
||||
(if (not (string-match "\\S-" content))
|
||||
|
Loading…
Reference in New Issue
Block a user