From 8e4e859071b0dc50fea7f31e14b555e3295bbe4d Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 15 Sep 2024 21:59:07 -0700 Subject: [PATCH] Add comment to decodedEntity. --- Modules/Parser/Sources/SAX/HTMLEntityDecoder.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/Parser/Sources/SAX/HTMLEntityDecoder.swift b/Modules/Parser/Sources/SAX/HTMLEntityDecoder.swift index 70fdf5d3a..78dbc540f 100644 --- a/Modules/Parser/Sources/SAX/HTMLEntityDecoder.swift +++ b/Modules/Parser/Sources/SAX/HTMLEntityDecoder.swift @@ -166,6 +166,7 @@ extension String { } } +/// rawEntity is assumed not to have opening `&` and closing `;`. private func decodedEntity(_ rawEntity: String) -> String? { return nil