Variable: html2text-replace-list

html2text-replace-list is a variable defined in html2text.el.gz.

Value

(("´" . "`") ("&" . "&") ("'" . "'") ("¦" . "|")
 ("¢" . "c") ("ˆ" . "^") ("©" . "(C)")
 ("¤" . "(#)") ("°" . "degree") ("÷" . "/")
 ("€" . "e") ("½" . "1/2") (">" . ">")
 ("&iquest;" . "?") ("&laquo;" . "<<") ("&ldquo" . "\"")
 ("&lsaquo;" . "(") ("&lsquo;" . "`") ("&lt;" . "<")
 ("&mdash;" . "--") ("&nbsp;" . " ") ("&ndash;" . "-")
 ("&permil;" . "%%") ("&plusmn;" . "+-") ("&pound;" . "£")
 ("&quot;" . "\"") ("&raquo;" . ">>") ("&rdquo" . "\"")
 ("&reg;" . "(R)") ("&rsaquo;" . ")") ("&rsquo;" . "'")
 ("&sect;" . "§") ("&sup1;" . "^1") ("&sup2;" . "^2")
 ("&sup3;" . "^3") ("&tilde;" . "~"))

Documentation

The map of entity to text.

This is an alist were each element is a dotted pair consisting of an old string, and a replacement string. This replacement is done by the function html2text-substitute which basically performs a replace-string operation for every element in the list. This is completely verbatim - without any use of REGEXP.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/html2text.el.gz
(defvar html2text-replace-list
  '(("&acute;" . "`")
    ("&amp;" . "&")
    ("&apos;" . "'")
    ("&brvbar;" . "|")
    ("&cent;" . "c")
    ("&circ;" . "^")
    ("&copy;" . "(C)")
    ("&curren;" . "(#)")
    ("&deg;" . "degree")
    ("&divide;" . "/")
    ("&euro;" . "e")
    ("&frac12;" . "1/2")
    ("&gt;" . ">")
    ("&iquest;" . "?")
    ("&laquo;" . "<<")
    ("&ldquo" . "\"")
    ("&lsaquo;" . "(")
    ("&lsquo;" . "`")
    ("&lt;" . "<")
    ("&mdash;" . "--")
    ("&nbsp;" . " ")
    ("&ndash;" . "-")
    ("&permil;" . "%%")
    ("&plusmn;" . "+-")
    ("&pound;" . "£")
    ("&quot;" . "\"")
    ("&raquo;" . ">>")
    ("&rdquo" . "\"")
    ("&reg;" . "(R)")
    ("&rsaquo;" . ")")
    ("&rsquo;" . "'")
    ("&sect;" . "§")
    ("&sup1;" . "^1")
    ("&sup2;" . "^2")
    ("&sup3;" . "^3")
    ("&tilde;" . "~"))
  "The map of entity to text.

This is an alist were each element is a dotted pair consisting of an
old string, and a replacement string.  This replacement is done by the
function `html2text-substitute' which basically performs a
`replace-string' operation for every element in the list.  This is
completely verbatim - without any use of REGEXP.")