mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Create HTMLParserTests.
This commit is contained in:
@@ -9,7 +9,14 @@ import Foundation
|
||||
|
||||
public final class HTMLLink {
|
||||
|
||||
let urlString: String? // Absolute URL string
|
||||
let text: String?
|
||||
let title: String? // Title attribute inside anchor tag
|
||||
public var urlString: String? // Absolute URL string
|
||||
public var text: String?
|
||||
public var title: String? // Title attribute inside anchor tag
|
||||
|
||||
init(urlString: String? = nil, text: String? = nil, title: String? = nil) {
|
||||
|
||||
self.urlString = urlString
|
||||
self.text = text
|
||||
self.title = title
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user