Commit cc3de97a authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

shr table rendering fix

* shr.el (shr-tag-table): Allow rendering body-less tables
that have headers.


(cherry picked from commit b05471e4)
parent 2dd3581b
......@@ -1582,7 +1582,7 @@ The preference is a float determined from `shr-prefer-media-type'."
(shr-stylesheet (nconc (list (cons 'background-color bgcolor))
(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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment