forked from mirrors/org-mode
org-html-htmlize-output-type: Mark safe as buffer-local
* lisp/ox-html.el (org-html-htmlize-output-type): This variable is safe to set buffer-locally as a symbol. Reported-by: Rudolf Adamkovič <salutis@me.com> Link: https://orgmode.org/list/m28ruxklo5.fsf@me.com
This commit is contained in:
parent
d620c30e6f
commit
4517fba441
|
@ -897,7 +897,8 @@ all the faces you are interested in are defined, for example by loading files
|
||||||
in all modes you want. Then, use the command
|
in all modes you want. Then, use the command
|
||||||
`\\[org-html-htmlize-generate-css]' to extract class definitions."
|
`\\[org-html-htmlize-generate-css]' to extract class definitions."
|
||||||
:group 'org-export-html
|
:group 'org-export-html
|
||||||
:type '(choice (const css) (const inline-css) (const nil)))
|
:type '(choice (const css) (const inline-css) (const nil))
|
||||||
|
:safe #'symbolp)
|
||||||
|
|
||||||
(defcustom org-html-htmlize-font-prefix "org-"
|
(defcustom org-html-htmlize-font-prefix "org-"
|
||||||
"The prefix for CSS class names for htmlize font specifications."
|
"The prefix for CSS class names for htmlize font specifications."
|
||||||
|
|
Loading…
Reference in New Issue