GNU bug report logs - #30546
27.0.50; shr: span tag with href attribute

Previous Next

Package: emacs;

Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>

Date: Tue, 20 Feb 2018 09:54:02 UTC

Severity: minor

Tags: patch

Found in version 27.0.50

Done: Katsumi Yamaoka <yamaoka <at> jpl.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 30546 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Katsumi Yamaoka <yamaoka <at> jpl.org>
Cc: 30546 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#30546: 27.0.50; shr: span tag with href attribute
Date: Tue, 20 Feb 2018 12:10:52 +0100
Katsumi Yamaoka <yamaoka <at> jpl.org> writes:

> Though it is not necessarily a bug[1], Firefox renders this as
> a link but shr doesn't:
>
> <span href="https://www.example.com" style="font-size:...">Foo</span>
>
> Jidanni wrote me that some html mails he receives contain such
> forms, and I tried making shr support it as the patch attached
> below.  I'm not quite sure whether it causes a trouble but I'm
> going to try it for some time.

That sounds kinda weird.  :-)  And I'm not able to reproduce the
behaviour in Firefox.

My crystal ball says that the page jidanni is looking at has some
Javascript that transforms the spans into links.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 7 years and 89 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.