Function: org-html-encode-plain-text

org-html-encode-plain-text is a byte-compiled function defined in ox-html.el.gz.

Signature

(org-html-encode-plain-text TEXT)

Documentation

Convert plain text characters from TEXT to HTML equivalent.

Possible conversions are set in org-html-protect-char-alist.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
(defun org-html-encode-plain-text (text)
  "Convert plain text characters from TEXT to HTML equivalent.
Possible conversions are set in `org-html-protect-char-alist'."
  (dolist (pair org-html-protect-char-alist text)
    (setq text (replace-regexp-in-string (car pair) (cdr pair) text t t))))