Skip to content

Commit 6a6b138

Browse files
authored
fix(bundler): correctly escape resource xml, fixes #6853 (#6855)
1 parent 6788bb4 commit 6a6b138

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'tauri-bundler': 'patch'
3+
---
4+
5+
Correctly escape XML for resource files in WiX bundler.

tooling/bundler/src/bundle/windows/msi/wix.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ pub fn build_wix_app_installer(
614614

615615
let mut fragment_paths = Vec::new();
616616
let mut handlebars = Handlebars::new();
617+
handlebars.register_escape_fn(|s| s.into());
617618
let mut has_custom_template = false;
618619
let mut enable_elevated_update_task = false;
619620

0 commit comments

Comments
 (0)