* shr.el (shr-generic): The text nodes should be text, not :text.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 30 Oct 2010 17:00:34 +0000 (19:00 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 30 Oct 2010 17:00:34 +0000 (19:00 +0200)
lisp/ChangeLog
lisp/shr.el

index 0e1bf49..af2104a 100644 (file)
@@ -1,5 +1,7 @@
 2010-10-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * shr.el (shr-generic): The text nodes should be text, not :text.
+
        * nnir.el (nnir-search-engine): Ressurect variable, since it's used
        later in the file.
 
index bbb7ff1..2516a18 100644 (file)
@@ -181,7 +181,7 @@ redirects somewhere else."
            result))
     (dolist (sub dom)
       (if (stringp sub)
-         (push (cons :text sub) result)
+         (push (cons 'text sub) result)
        (push (shr-transform-dom sub) result)))
     (nreverse result)))
 
@@ -194,7 +194,7 @@ redirects somewhere else."
 (defun shr-generic (cont)
   (dolist (sub cont)
     (cond
-     ((eq (car sub) :text)
+     ((eq (car sub) 'text)
       (shr-insert (cdr sub)))
      ((listp (cdr sub))
       (shr-descend sub)))))