Variable: html2text-format-tag-list

html2text-format-tag-list is a variable defined in html2text.el.gz.

Value

(("b" . html2text-clean-bold) ("strong" . html2text-clean-bold)
 ("u" . html2text-clean-underline) ("i" . html2text-clean-italic)
 ("em" . html2text-clean-italic)
 ("blockquote" . html2text-clean-blockquote)
 ("a" . html2text-clean-anchor) ("ul" . html2text-clean-ul)
 ("ol" . html2text-clean-ol) ("dl" . html2text-clean-dl)
 ("center" . html2text-clean-center))

Documentation

An alist of tags and processing functions.

This is an alist where each dotted pair consists of a tag, and then the name of a function to be called when this tag is found. The function is called with the arguments p1, p2, p3 and p4. These are demonstrated below:

"<b> This is bold text </b>"
 ^ ^ ^ ^
 | | | |
p1 p2 p3 p4

Then the called function will typically format the text somewhat and remove the tags.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/html2text.el.gz
(defvar html2text-format-tag-list
  '(("b"          . html2text-clean-bold)
    ("strong"     . html2text-clean-bold)
    ("u"          . html2text-clean-underline)
    ("i"          . html2text-clean-italic)
    ("em"         . html2text-clean-italic)
    ("blockquote" . html2text-clean-blockquote)
    ("a"          . html2text-clean-anchor)
    ("ul"         . html2text-clean-ul)
    ("ol"         . html2text-clean-ol)
    ("dl"         . html2text-clean-dl)
    ("center"     . html2text-clean-center))
  "An alist of tags and processing functions.

This is an alist where each dotted pair consists of a tag, and then
the name of a function to be called when this tag is found.  The
function is called with the arguments p1, p2, p3 and p4. These are
demonstrated below:

\"<b> This is bold text </b>\"
 ^   ^                 ^    ^
 |   |                 |    |
p1  p2                p3   p4

Then the called function will typically format the text somewhat and
remove the tags.")