Escape special XML characters for external folder id. Issue #1659
This commit is contained in:
parent
f3802488c3
commit
531c40a059
|
@ -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 ""
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue