0.4.4: match more SiteLogo classnames
This commit is contained in:
parent
76e84100a4
commit
302b8dea63
3 changed files with 5 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1638,7 +1638,7 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "site_icons"
|
name = "site_icons"
|
||||||
version = "0.4.3"
|
version = "0.4.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byteorder",
|
"byteorder",
|
||||||
"clap",
|
"clap",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "site_icons"
|
name = "site_icons"
|
||||||
version = "0.4.3"
|
version = "0.4.4"
|
||||||
authors = ["Sam Denty <sam@samdenty.com>"]
|
authors = ["Sam Denty <sam@samdenty.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
|
|
|
@ -185,7 +185,10 @@ impl Icons {
|
||||||
"header img, header svg",
|
"header img, header svg",
|
||||||
"img[src*=logo]",
|
"img[src*=logo]",
|
||||||
"img[alt*=logo], svg[alt*=logo]",
|
"img[alt*=logo], svg[alt*=logo]",
|
||||||
|
"*[class*=logo] img, *[class*=logo] svg",
|
||||||
|
"*[id*=logo] img, *[id*=logo] svg",
|
||||||
"img[class*=logo], svg[class*=logo]",
|
"img[class*=logo], svg[class*=logo]",
|
||||||
|
"img[id*=logo], svg[id*=logo]",
|
||||||
))
|
))
|
||||||
.enumerate()
|
.enumerate()
|
||||||
.filter_map(|(i, elem_ref)| {
|
.filter_map(|(i, elem_ref)| {
|
||||||
|
|
Reference in a new issue