Skip to content

Commit

Permalink
fix(bundler): correctly escape resource xml, fixes #6853 (#6855)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars authored May 4, 2023
1 parent 6788bb4 commit 6a6b138
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/fix-wix-escape-resources.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-bundler': 'patch'
---

Correctly escape XML for resource files in WiX bundler.
1 change: 1 addition & 0 deletions tooling/bundler/src/bundle/windows/msi/wix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6a6b138

Please sign in to comment.