Function: html2text-remove-tags
html2text-remove-tags is an interactive and byte-compiled function
defined in html2text.el.gz.
Signature
(html2text-remove-tags TAG-LIST)
Documentation
Removes the tags listed in the list html2text-remove-tag-list.
See the documentation for that variable.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/html2text.el.gz
;;
;; </Functions to be called to fix up paragraphs>
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; <Interactive functions>
;;
(defun html2text-remove-tags (tag-list)
"Removes the tags listed in the list `html2text-remove-tag-list'.
See the documentation for that variable."
(interactive)
(dolist (tag tag-list)
(goto-char (point-min))
(while (re-search-forward (format "\\(</?%s[^>]*>\\)" tag) (point-max) t)
(delete-region (match-beginning 0) (match-end 0)))))