* shr displays an image in table twice
@ 2011-10-05 9:33 Katsumi Yamaoka
2011-10-06 9:25 ` Katsumi Yamaoka
0 siblings, 1 reply; 2+ messages in thread
From: Katsumi Yamaoka @ 2011-10-05 9:33 UTC (permalink / raw)
To: ding
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
Hi,
Some html mails contain cid images in tables. Isn't it funny that
shr displays those images twice in the article buffer? An example
mail is attached.
[-- Attachment #2: html-mail.gz --]
[-- Type: application/x-gunzip, Size: 871 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: shr displays an image in table twice
2011-10-05 9:33 shr displays an image in table twice Katsumi Yamaoka
@ 2011-10-06 9:25 ` Katsumi Yamaoka
0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2011-10-06 9:25 UTC (permalink / raw)
To: ding
Katsumi Yamaoka wrote:
> Some html mails contain cid images in tables. Isn't it funny that
> shr displays those images twice in the article buffer? An example
> mail is attached.
Sorry for the insufficient explanation. I meant the same two
images are displayed _when I invoke the `W D W' command_.
I saw the reason. shr was designed not to display images in tables
because:
(defun shr-tag-table-1 (cont)
[...]
;; Finally, insert all the images after the table. The Emacs buffer
;; model isn't strong enough to allow us to put the images actually
;; into the tables.
However, it puts a displayer property to ALT text even in a table,
so the `W D W' command tries to use it to display an image even
though it is already after a table. Fixed in the repository.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-06 9:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-05 9:33 shr displays an image in table twice Katsumi Yamaoka
2011-10-06 9:25 ` Katsumi Yamaoka
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).