Skip to content

Commit

Permalink
Do not add BOM when downloading files. Fix #1521.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisCatus committed Jun 26, 2018
1 parent 4c9052d commit 47ada9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion omega-web/src/omega/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,6 @@ angular.module('omega').factory 'downloadFile', ->
else
browser.downloads.download({url: url})
else
return saveAs
return (blob, filename) ->
noAutoBom = true
saveAs(blob, filename, noAutoBom)

0 comments on commit 47ada9b

Please sign in to comment.