Add element-content as a prereq to matching on an element's textual content
traversal/lhtml.lisp
Sun Dec 13 05:24:52 UTC 2009 pix@kepibu.org
* Add element-content as a prereq to matching on an element's textual content
--- old-Oh, Ducks!/traversal/lhtml.lisp 2015-10-28 16:32:55.000000000 +0000
+++ new-Oh, Ducks!/traversal/lhtml.lisp 2015-10-28 16:32:55.000000000 +0000
@@ -23,3 +23,6 @@
(defmethod element-type ((element list))
(car element))
+
+(defmethod element-content ((element list))
+ (cddr element))