Skip to content

Commit

Permalink
escape
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Jan 29, 2024
1 parent 6dac07b commit 1b11116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init/DocumentDatabase.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ManifestDocumentDatabase {
async getAsset(checksum) {
if (!this.zip) {
const asset = fs.readFileSync(`assets/${checksum}`);
return atob(asset);
return decodeURIComponent(escape(window.atob(asset)));
}
const result = this.zip.getEntry(`assets/${checksum}`);
if (result) {
Expand Down

0 comments on commit 1b11116

Please sign in to comment.