GNU bug report logs - #10973
shr rendering seems wrong

Previous Next

Package: gnus;

Reported by: Dave Abrahams <dave <at> boostpro.com>

Date: Fri, 9 Mar 2012 07:50:02 UTC

Severity: normal

Tags: fixed

Found in version 5.130004

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Dave Abrahams <dave <at> boostpro.com>
Cc: 10973 <at> debbugs.gnu.org
Subject: Re: bug#10973: shr rendering seems wrong
Date: Wed, 14 Mar 2012 17:13:09 +0100
Dave Abrahams <dave <at> boostpro.com> writes:

> voilĂ :

Eek.  That had tables nested five levels deep...

But after slashing away at it for fifteen minutes, I've come up with the
following parse tree that displays the bug:

(table
 ((bgcolor . "#003366"))
 (tr nil
     (td nil
	 (table
	  ((bgcolor . "#FFFFFF"))
	  (tr nil
	      (td nil)
	      (td nil "please give a warm welcome to bla bla bla"))))))

(save-excursion (goto-char (point-min)) (setq dom (read (current-buffer))) (pop-to-buffer "*html*") (erase-buffer) (shr-insert-document dom) (other-window 1))              

That makes shr.el think that is has only 13 characters to render the
text in question.

Now to fix the bug...

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




This bug report was last modified 13 years and 132 days ago.

Previous Next


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