* shr.el (shr-table-body): Allow tables to have text children.
This commit is contained in:
parent
ef768c790e
commit
116caedbe0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue