Răsfoiți Sursa

fix(bundler): correctly escape resource xml, fixes #6853 (#6855)

Fabian-Lars 2 ani în urmă
părinte
comite
6a6b1388ea

+ 5 - 0
.changes/fix-wix-escape-resources.md

@@ -0,0 +1,5 @@
+---
+'tauri-bundler': 'patch'
+---
+
+Correctly escape XML for resource files in WiX bundler.

+ 1 - 0
tooling/bundler/src/bundle/windows/msi/wix.rs

@@ -614,6 +614,7 @@ pub fn build_wix_app_installer(
 
   let mut fragment_paths = Vec::new();
   let mut handlebars = Handlebars::new();
+  handlebars.register_escape_fn(|s| s.into());
   let mut has_custom_template = false;
   let mut enable_elevated_update_task = false;