[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/gnus/html2text.el
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/gnus/html2text.el |
Date: |
Wed, 01 Jun 2005 01:07:07 -0400 |
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 <address@hidden>
--- 1,5 ----
;;; html2text.el --- a simple html to plain text converter
! ;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
;; Author: Joakim Hove <address@hidden>
***************
*** 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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/gnus/html2text.el,
Miles Bader <=