replace triple quote xml message by auto concatenated string to prevent line ends and obsolete spaces