mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-20 15:41:40 -04:00
Update faviconextractor HtmlAgilityPack call (#715)
This commit is contained in:
committed by
Leendert de Borst
parent
5443e147b1
commit
4ee044ffb9
@@ -71,7 +71,7 @@ public static class FaviconExtractor
|
||||
var favicons = faviconNodes
|
||||
.Select(node => new
|
||||
{
|
||||
Url = node.GetAttributeValue("href", null),
|
||||
Url = node.GetAttributeValue("href", string.Empty),
|
||||
Size = GetFaviconSize(node.GetAttributeValue("sizes", "0x0")),
|
||||
})
|
||||
.Where(favicon => !string.IsNullOrEmpty(favicon.Url))
|
||||
|
||||
Reference in New Issue
Block a user