Escape special XML characters for external folder id. Issue #1659

This commit is contained in:
Maurice Parker 2020-01-19 22:52:45 -07:00
parent f3802488c3
commit 531c40a059
1 changed files with 1 additions and 1 deletions

View File

@ -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 ""
}