summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2015-12-24 14:00:38 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2015-12-25 16:59:49 +0100
commitcc3de97ad37f634b859c1c1b3d1bce0961733a2a (patch)
treeec6732a18c3e34b39f08727aea98de9021812b12
parent2dd3581b78a5fe15e0562b1cc2daa6e3afeeec4a (diff)
downloademacs-cc3de97ad37f634b859c1c1b3d1bce0961733a2a.tar.gz
shr table rendering fix
* shr.el (shr-tag-table): Allow rendering body-less tables that have headers. Backport: (cherry picked from commit b05471e42c17e02c56c87d7599ada0c124a5fe09)
-rw-r--r--lisp/net/shr.el2
1 files changed, 1 insertions, 1 deletions
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)