Do not add BOM when downloading files. Fix #1521.

This commit is contained in:
FelisCatus 2018-06-25 19:29:48 -07:00
parent 4c9052daf0
commit 47ada9bf1e

View File

@ -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)