aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net/shr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net/shr.el')
-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 bf78cce13bf..517cb3cc237 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -2731,7 +2731,7 @@ flags that control whether to collect or render objects."
2731 (aref widths width-column) 2731 (aref widths width-column)
2732 (* 10 shr-table-separator-pixel-width))) 2732 (* 10 shr-table-separator-pixel-width)))
2733 (when (setq colspan (dom-attr column 'colspan)) 2733 (when (setq colspan (dom-attr column 'colspan))
2734 (setq colspan (min (string-to-number colspan) 2734 (setq colspan (min (truncate (string-to-number colspan))
2735 ;; The colspan may be wrong, so 2735 ;; The colspan may be wrong, so
2736 ;; truncate it to the length of the 2736 ;; truncate it to the length of the
2737 ;; remaining columns. 2737 ;; remaining columns.