Switch to new Parser.

This commit is contained in:
Brent Simmons
2024-11-15 22:59:51 -08:00
parent c3f063ae4a
commit 85d1a8fe7a
79 changed files with 187 additions and 219 deletions

View File

@@ -6,7 +6,7 @@
// Copyright © 2020 Ranchero Software. All rights reserved.
//
import RSParser
import Parser
#if canImport(AppKit)
import AppKit
@@ -310,6 +310,6 @@ private struct CountedSet<Element> where Element: Hashable {
private extension String {
var decodedEntity: String {
// It's possible the implementation will change, but for now it just calls this.
(self as NSString).rsparser_stringByDecodingHTMLEntities() as String
HTMLEntityDecoder.decodedString(self)
}
}