From: Lars Magne Ingebrigtsen Date: Tue, 19 Jan 2016 13:16:34 +0000 (+0100) Subject: * shr.el (shr-table-body): Allow tables to have text children. X-Git-Tag: emacs-25.0.90~126 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=116caedbe0da17999a3636e4def329edab2c56ed;p=emacs.git * shr.el (shr-table-body): Allow tables to have text children. --- diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 88041f7e553..746cbb61aae 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -1602,7 +1602,7 @@ The preference is a float determined from `shr-prefer-media-type'." (defun shr-table-body (dom) (let ((tbodies (seq-filter (lambda (child) (eq (dom-tag child) 'tbody)) - (dom-children dom)))) + (dom-non-text-children dom)))) (cond ((null tbodies) dom)