Subject: Re: bug#10973: shr rendering seems wrong

From: Lars Magne Ingebrigtsen <[email-masked]>
Date: Wed, 14 Mar 2012 17:13:09 +0100

Dave Abrahams <[email-masked]> 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/