From 81d5d7a80ae397099e421efcf2509be32df7f798 Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Fri, 15 Feb 2019 12:22:35 +0000 Subject: [PATCH] Support more favicon cases --- .../src/main/java/com/readrops/readropslibrary/HtmlParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readropslibrary/src/main/java/com/readrops/readropslibrary/HtmlParser.java b/readropslibrary/src/main/java/com/readrops/readropslibrary/HtmlParser.java index 70ef5e73..d79dddd7 100644 --- a/readropslibrary/src/main/java/com/readrops/readropslibrary/HtmlParser.java +++ b/readropslibrary/src/main/java/com/readrops/readropslibrary/HtmlParser.java @@ -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; }