mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 13:20:05 +03:00
support all elements
This commit is contained in:
parent
9a989762e6
commit
ae07910adb
1 changed files with 1 additions and 1 deletions
2
dom.d
2
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue