Commit 772a965c authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

Minor `shr-retransform-dom' fix

* net/shr.el (shr-retransform-dom): Don't ignore elements that
have no children like <br />.
parent d94bc77e
......@@ -19,6 +19,9 @@
2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/shr.el (shr-retransform-dom): Don't ignore elements that
have no children like <br />.
* net/eww.el (eww-display-html): Clear `url-queue'.
(eww-display-pdf): New function.
(eww-render): Display PDFs with `doc-view'.
......
......@@ -379,7 +379,7 @@ size, and full-buffer size."
(cond
((eq (car elem) 'text)
(push (cdr elem) sub-nodes))
((not (consp (cdr elem)))
((not (listp (cdr elem)))
(push (cons (intern (substring (symbol-name (car elem)) 1) obarray)
(cdr elem))
attributes))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment