Remove more white space before <pre_int> image spacers.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Fri, 3 Sep 2010 23:32:59 +0000 (01:32 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Fri, 3 Sep 2010 23:32:59 +0000 (01:32 +0200)
lisp/ChangeLog
lisp/gnus-html.el

index dc32f48..db75279 100644 (file)
@@ -5,6 +5,8 @@
        (gnus-html-insert-image): New command and keystroke.
        (gnus-html-redisplay-with-images): New command and keystroke.
        (gnus-html-show-images): Renamed command.
+       (gnus-html-wash-tags): Remove more white space before <pre_int> image
+       spacers.
 
        * gnus-agent.el (gnus-agent-auto-agentize-methods): Change the default
        so that nnimap methods aren't agentized by default.  There's apparently
index c0e0ed7..1e6cdc5 100644 (file)
@@ -113,7 +113,7 @@ fit these criteria."
   (let (tag parameters string start end images url)
     (mm-url-decode-entities)
     (goto-char (point-min))
-    (while (re-search-forward "<pre_int> *</pre_int>\n" nil t)
+    (while (re-search-forward " *<pre_int> *</pre_int>\n" nil t)
       (replace-match "" t t))
     (goto-char (point-min))
     (while (re-search-forward "<\\([^ />]+\\)\\([^>]*\\)>" nil t)