* [PATCH] gnus-html: add support for i, b and u tags
@ 2010-09-18 13:32 Julien Danjou
2010-09-18 13:36 ` Lars Magne Ingebrigtsen
2010-09-18 13:39 ` Adam Sjøgren
0 siblings, 2 replies; 5+ messages in thread
From: Julien Danjou @ 2010-09-18 13:32 UTC (permalink / raw)
To: ding; +Cc: Julien Danjou
Signed-off-by: Julien Danjou <julien@danjou.info>
---
lisp/ChangeLog | 5 +++++
lisp/gnus-html.el | 6 ++++++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2530d81..6d21114 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-18 Julien Danjou <julien@danjou.info>
+
+ * gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML
+ tags.
+
2010-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-start.el (gnus-get-unread-articles): Allow the backends to
diff --git a/lisp/gnus-html.el b/lisp/gnus-html.el
index c390ae0..e74fd5b 100644
--- a/lisp/gnus-html.el
+++ b/lisp/gnus-html.el
@@ -253,6 +253,12 @@ fit these criteria."
((equal tag "IMG_ALT")
(delete-region start end))
;; Whatever. Just ignore the tag.
+ ((equal tag "b")
+ (gnus-overlay-put (gnus-make-overlay start end) 'face 'bold))
+ ((equal tag "U")
+ (gnus-overlay-put (gnus-make-overlay start end) 'face 'underline))
+ ((equal tag "i")
+ (gnus-overlay-put (gnus-make-overlay start end) 'face 'italic))
(t
))
(goto-char start))
--
1.7.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gnus-html: add support for i, b and u tags
2010-09-18 13:32 [PATCH] gnus-html: add support for i, b and u tags Julien Danjou
@ 2010-09-18 13:36 ` Lars Magne Ingebrigtsen
2010-09-18 13:42 ` Julien Danjou
2010-09-18 13:39 ` Adam Sjøgren
1 sibling, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-18 13:36 UTC (permalink / raw)
To: ding
Julien Danjou <julien@danjou.info> writes:
> + * gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML
> + tags.
Looks good. Do you have copyright assignments on file?
(And is there a public interface where one can look this up?)
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gnus-html: add support for i, b and u tags
2010-09-18 13:32 [PATCH] gnus-html: add support for i, b and u tags Julien Danjou
2010-09-18 13:36 ` Lars Magne Ingebrigtsen
@ 2010-09-18 13:39 ` Adam Sjøgren
2010-09-18 13:44 ` Julien Danjou
1 sibling, 1 reply; 5+ messages in thread
From: Adam Sjøgren @ 2010-09-18 13:39 UTC (permalink / raw)
To: ding
On Sat, 18 Sep 2010 15:32:25 +0200, Julien wrote:
> + ((equal tag "b")
[...]
> + ((equal tag "U")
^
[...]
> + ((equal tag "i")
Is the difference in case intentional?
Just curious :-),
Adam
--
"It's my chainsaw Adam Sjøgren
Division is mine" asjo@koldfront.dk
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-09-18 13:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-18 13:32 [PATCH] gnus-html: add support for i, b and u tags Julien Danjou
2010-09-18 13:36 ` Lars Magne Ingebrigtsen
2010-09-18 13:42 ` Julien Danjou
2010-09-18 13:39 ` Adam Sjøgren
2010-09-18 13:44 ` Julien Danjou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).