Index: emacs/lisp/gnus/html2text.el
diff -c emacs/lisp/gnus/html2text.el:1.6 emacs/lisp/gnus/html2text.el:1.7
*** emacs/lisp/gnus/html2text.el:1.6 Thu Nov 4 08:12:39 2004
--- emacs/lisp/gnus/html2text.el Wed Jun 1 05:07:06 2005
***************
*** 1,5 ****
;;; html2text.el --- a simple html to plain text converter
! ;; Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
;; Author: Joakim Hove <[EMAIL PROTECTED]>
--- 1,5 ----
;;; html2text.el --- a simple html to plain text converter
! ;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
;; Author: Joakim Hove <[EMAIL PROTECTED]>
***************
*** 374,380 ****
fashion, quite close to pure guess-work. It does work in some cases though."
(interactive)
(goto-char (point-min))
! (replace-regexp "^<br>$" "")
;; Removing lonely <br> on a single line, if they are left intact we
;; dont have any paragraphs at all.
(goto-char (point-min))
--- 374,381 ----
fashion, quite close to pure guess-work. It does work in some cases though."
(interactive)
(goto-char (point-min))
! (while (re-search-forward "^<br>$" nil t)
! (delete-region (match-beginning 0) (match-end 0)))
;; Removing lonely <br> on a single line, if they are left intact we
;; dont have any paragraphs at all.
(goto-char (point-min))
_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs