Function: org-html--build-meta-entry
org-html--build-meta-entry is a byte-compiled function defined in
ox-html.el.gz.
Signature
(org-html--build-meta-entry LABEL IDENTITY &optional CONTENT-FORMAT &rest CONTENT-FORMATTERS)
Documentation
Build a meta tag using the provided information.
Construct <meta> tag of form <meta LABEL="IDENTITY" />, or when CONTENT-FORMAT is present: <meta LABEL="IDENTITY" content="{content}" />
Here {content} is determined by applying any CONTENT-FORMATTERS to the CONTENT-FORMAT and encoding the result as plain text.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
(defun org-html--build-meta-entry
(label identity &optional content-format &rest content-formatters)
"Build a meta tag using the provided information.
Construct <meta> tag of form <meta LABEL=\"IDENTITY\" />, or when CONTENT-FORMAT
is present: <meta LABEL=\"IDENTITY\" content=\"{content}\" />
Here {content} is determined by applying any CONTENT-FORMATTERS to the
CONTENT-FORMAT and encoding the result as plain text."
(concat "<meta "
(format "%s=\"%s" label identity)
(when content-format
(concat "\" content=\""
(replace-regexp-in-string
"\"" """
(org-html-encode-plain-text
(if content-formatters
(apply #'format content-format content-formatters)
content-format)))))
"\" />\n"))