Skip to content

Commit ca991fa

Browse files
committed
Update readmes that getElementsByClassName supports multiple classes now, space-separated, as per updated spec.
1 parent ec1b538 commit ca991fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The parser then exposes many "standard" functions as you'd find on the web for a
6868

6969
getElementById - Returns a single AdvancedTag (or None) if found an element matching the provided ID
7070

71-
getElementsByClassName - Returns a list of all elements containing a class name
71+
getElementsByClassName - Returns a list of all elements containing one or more space-separated class names
7272

7373
getElementsByAttr - Returns a list of all elements matching a paticular attribute/value pair.
7474

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The parser then exposes many "standard" functions as you'd find on the web for a
7878

7979
getElementById \- Returns a single AdvancedTag (or None) if found an element matching the provided ID
8080

81-
getElementsByClassName \- Returns a list of all elements containing a class name
81+
getElementsByClassName \- Returns a list of all elements containing one or more space\-separated class names
8282

8383
getElementsByAttr \- Returns a list of all elements matching a paticular attribute/value pair.
8484

0 commit comments

Comments
 (0)