diff --git a/dom.d b/dom.d index 9fcddc8..6313d0d 100644 --- a/dom.d +++ b/dom.d @@ -2866,7 +2866,7 @@ class Element : DomParent { tag = tag.toLower(); Element[] ret; foreach(e; tree) - if(e.tagName == tag) + if(e.tagName == tag || tag == "*") ret ~= e; return ret; }