emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master b05471e: shr table rendering fix


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master b05471e: shr table rendering fix
Date: Thu, 24 Dec 2015 13:00:47 +0000

branch: master
commit b05471e42c17e02c56c87d7599ada0c124a5fe09
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    shr table rendering fix
    
    * shr.el (shr-tag-table): Allow rendering body-less tables
    that have headers.
---
 lisp/net/shr.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index a48d098..dbf45b8 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]