mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-29 20:35:02 +00:00
org-exp.el: Fix export of subtree with HTML_CONTAINER_CLASS
* org-exp.el (org-export-remember-html-container-classes): Allow exporting a single subtree with HTML_CONTAINER_CLASS property. TINYCHANGE
This commit is contained in:
parent
f011496ceb
commit
c7b3c56efd
@ -1476,8 +1476,10 @@ the current file."
|
||||
"^[ \t]*:HTML_CONTAINER_CLASS:[ \t]+\\(.+\\)$" nil t)
|
||||
(setq class (match-string 1))
|
||||
(save-excursion
|
||||
(org-back-to-heading t)
|
||||
(put-text-property (point-at-bol) (point-at-eol) 'html-container-class class)))))
|
||||
(when (re-search-backward "^\\*" (point-min) t)
|
||||
(org-back-to-heading t)
|
||||
(put-text-property (point-at-bol) (point-at-eol)
|
||||
'html-container-class class))))))
|
||||
|
||||
(defvar org-export-format-drawer-function nil
|
||||
"Function to be called to format the contents of a drawer.
|
||||
|
Loading…
Reference in New Issue
Block a user