From 116caedbe0da17999a3636e4def329edab2c56ed Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Tue, 19 Jan 2016 14:16:34 +0100 Subject: [PATCH] * shr.el (shr-table-body): Allow tables to have text children. --- lisp/net/shr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2