Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: shr displays an image in table twice
Date: Thu, 06 Oct 2011 18:25:41 +0900	[thread overview]
Message-ID: <b4mpqiabhey.fsf@jpl.org> (raw)
In-Reply-To: <b4mbotvpyu9.fsf@jpl.org>

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.



      reply	other threads:[~2011-10-06  9:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-05  9:33 Katsumi Yamaoka
2011-10-06  9:25 ` Katsumi Yamaoka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4mpqiabhey.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).