[gnus git] branch master updated: m0-3-87-gce032b2 =1= Revert the <br> change in shr.
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via ce032b26f290db41cd8ab1b15b722ecf2e1a4e44 (commit)
from 0083071bc8c341265712e48a4cd128d280fbec94 (commit)
- Log -----------------------------------------------------------------
commit ce032b26f290db41cd8ab1b15b722ecf2e1a4e44
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Mon Mar 19 18:02:45 2012 +0100
Revert the <br> change in shr.
It looks awkward in some documents.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9aa2949..b35f080 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,8 +2,6 @@
* shr.el (shr-insert): Treat non-breaking space just like normal
space. This seems to produce more pleasing results.
- (shr-tag-br): Make <br> only ensure a line break instead of always
- creating a blank line. This looks more readable in my test corpus.
(shr-insert): Only insert a blank line if we're starting from an image.
2012-03-15 Elias Pipping <[email protected]>
diff --git a/lisp/shr.el b/lisp/shr.el
index ba1ca1b..281a7b1 100644
--- a/lisp/shr.el
+++ b/lisp/shr.el
@@ -1044,7 +1044,7 @@ ones, in case fg and bg are nil."
(shr-generic cont)))
(defun shr-tag-br (cont)
- (unless (bolp)
+ (unless (bobp)
(insert "\n")
(shr-indent))
(shr-generic cont))
-----------------------------------------------------------------------
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/shr.el | 2 +-
2 files changed, 1 insertions(+), 3 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, master has been updated
hooks/post-receive
--
Gnus Project