mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Escape special XML characters for external folder id. Issue #1659
This commit is contained in:
@@ -177,7 +177,7 @@ extension Folder: OPMLRepresentable {
|
||||
|
||||
let attrExternalID: String = {
|
||||
if allowCustomAttributes, let externalID = externalID {
|
||||
return " nnw_externalID=\"\(externalID)\""
|
||||
return " nnw_externalID=\"\(externalID.escapingSpecialXMLCharacters)\""
|
||||
} else {
|
||||
return ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user