mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-04 11:16:59 +00:00
Make HTMLLinkTests pass.
This commit is contained in:
1 parent
a7c4669bd6
commit
c348ec41b6
4 files changed
+34
-41
No files matched your search
@@ -56,7 +56,7 @@ extension HTMLLinkParser: SAXHTMLParserDelegate {
|
||||
|
||||
private func urlString(with attributesDictionary: SAXHTMLParser.HTMLAttributesDictionary) -> String? {
|
||||
|
||||
guard let href = attributesDictionary.object(forCaseInsensitiveKey: HTMLAttributeName.href) else {
|
||||
guard let href = attributesDictionary.object(forCaseInsensitiveKey: HTMLAttributeName.href), !href.isEmpty else {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user