Files
NetNewsWire/Modules/Parser/Sources/HTMLParser/HTMLLink.swift

23 lines
420 B
Swift
Raw Normal View History

2024-09-21 12:16:09 -07:00
//
// HTMLLink.swift
//
//
// Created by Brent Simmons on 9/21/24.
//
import Foundation
public final class HTMLLink {
2024-09-21 22:10:47 -07:00
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
}
2024-09-21 12:16:09 -07:00
}