mirror of https://github.com/readrops/Readrops.git
Support more favicon cases
This commit is contained in:
parent
b53463b2d4
commit
81d5d7a80a
|
@ -83,7 +83,7 @@ public final class HtmlParser {
|
|||
Elements elements = document.select("link");
|
||||
|
||||
for (Element element : elements) {
|
||||
if (element.attributes().get("rel").contains("icon")) {
|
||||
if (element.attributes().get("rel").toLowerCase().contains("icon")) {
|
||||
favUrl = element.absUrl("href");
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue