+2012-02-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * shr.el (shr-column-specs): Protect against TDs with "width: 0%".
+
2012-02-23 Katsumi Yamaoka <yamaoka@jpl.org>
* nntp.el (nntp-send-authinfo): Work for secure nntp entry in authinfo.
(when (memq (car column) '(td th))
(let ((width (cdr (assq :width (cdr column)))))
(when (and width
- (string-match "\\([0-9]+\\)%" width))
- (aset columns i
- (/ (string-to-number (match-string 1 width))
- 100.0))))
+ (string-match "\\([0-9]+\\)%" width)
+ (not (zerop (setq width (string-to-number
+ (match-string 1 width))))))
+ (aset columns i (/ width 100.0))))
(setq i (1+ i)))))))
columns))