CPack/DEB: CPACK_PACKAGE_DESCRIPTION_FILE incorrectly escaped characters
When using any of the five XML special characters (& ' " < >
) inside the file pointed to by CPACK_PACKAGE_DESCRIPTION_FILE
, they are replaced with their entity reference:
-
&
becomes&
-
'
becomes'
-
"
becomes"
-
<
becomes<
-
>
becomes>
This behavior does not occur when setting CPACK_PACKAGE_DESCRIPTION directly. It also doesn't occur for RPM packages.