aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2015-12-24 14:00:38 +0100
committerLars Ingebrigtsen2015-12-24 14:00:38 +0100
commitb05471e42c17e02c56c87d7599ada0c124a5fe09 (patch)
tree81ecd90eacd22fa880bcfa146960f3e37fdb0b46
parent1dcf9a5d2a727913bc53c68756bdaf6db5573671 (diff)
downloademacs-b05471e42c17e02c56c87d7599ada0c124a5fe09.tar.gz
emacs-b05471e42c17e02c56c87d7599ada0c124a5fe09.zip
shr table rendering fix
* shr.el (shr-tag-table): Allow rendering body-less tables that have headers.
-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'."
1582 (shr-stylesheet (nconc (list (cons 'background-color bgcolor)) 1582 (shr-stylesheet (nconc (list (cons 'background-color bgcolor))
1583 shr-stylesheet)) 1583 shr-stylesheet))
1584 (nheader (if header (shr-max-columns header))) 1584 (nheader (if header (shr-max-columns header)))
1585 (nbody (if body (shr-max-columns body))) 1585 (nbody (if body (shr-max-columns body) 0))
1586 (nfooter (if footer (shr-max-columns footer)))) 1586 (nfooter (if footer (shr-max-columns footer))))
1587 (if (and (not caption) 1587 (if (and (not caption)
1588 (not header) 1588 (not header)