Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chocolatey#27) Escape PackageProperties elements
On .Net fx, the PackageProperties elements have xml special chars escaped. On Mono, they do not get escaped. mono/mono#21227 In the process of reading the nuspec metadata, escaped chars like "<" get converted back into what they represent, for example "<". This is not an issue on Windows, but is it an issue on Mono. This manually escapes xml special chars from the PackageProperties strings. The id and version are not escaped, as they cannot contain xml special chars in the first place.
- Loading branch information