From cc3de97ad37f634b859c1c1b3d1bce0961733a2a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 24 Dec 2015 14:00:38 +0100 Subject: [PATCH] shr table rendering fix * shr.el (shr-tag-table): Allow rendering body-less tables that have headers. Backport: (cherry picked from commit b05471e42c17e02c56c87d7599ada0c124a5fe09) --- lisp/net/shr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/shr.el b/lisp/net/shr.el index a48d098fe26..dbf45b885da 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -1582,7 +1582,7 @@ The preference is a float determined from `shr-prefer-media-type'." (shr-stylesheet (nconc (list (cons 'background-color bgcolor)) shr-stylesheet)) (nheader (if header (shr-max-columns header))) - (nbody (if body (shr-max-columns body))) + (nbody (if body (shr-max-columns body) 0)) (nfooter (if footer (shr-max-columns footer)))) (if (and (not caption) (not header) -- 2.39.2