[gnus git] branch no-gnus updated: m0-1-68-g92846e6 =1= * mm-decode.el (mm-shr): Remove "soft hyphens".

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  92846e6403bdcbda9ecd262618c08d617f026575 (commit)
      from  c81405e38d2a18907301ffe10dd663e7eec2606e (commit)


- Log -----------------------------------------------------------------
commit 92846e6403bdcbda9ecd262618c08d617f026575
Author: Lars Ingebrigtsen <[email protected]>
Date:   Mon Feb 20 12:43:55 2012 +0100

    * mm-decode.el (mm-shr): Remove "soft hyphens".

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 79bd696..2bd6712 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
 2012-02-20  Lars Ingebrigtsen  <[email protected]>
 
+	* mm-decode.el (mm-shr): Remove "soft hyphens".
+
 	* nnimap.el (nnimap-request-list): Return the group names encoded as
 	utf8.  Otherwise non-European group names don't work.
 	(nnimap-request-newgroups): Ditto.
diff --git a/lisp/mm-decode.el b/lisp/mm-decode.el
index dd3eb6c..2af621a 100644
--- a/lisp/mm-decode.el
+++ b/lisp/mm-decode.el
@@ -1757,6 +1757,10 @@ If RECURSIVE, search recursively."
 				    (string-to-number (match-string 2)))
 				  mm-extra-numeric-entities)))
 	     (replace-match (char-to-string char))))
+	 ;; Remove "soft hyphens".
+	 (goto-char (point-min))
+	 (while (search-forward "-" nil t)
+	   (replace-match "" t t))
 	 (libxml-parse-html-region (point-min) (point-max))))
       (mm-handle-set-undisplayer
        handle

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog    |    2 ++
 lisp/mm-decode.el |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, no-gnus has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.