diff --git a/web/scripts/pnginfo.js b/web/scripts/pnginfo.js index 8b1b2c61..4477ed7a 100644 --- a/web/scripts/pnginfo.js +++ b/web/scripts/pnginfo.js @@ -190,9 +190,10 @@ function parseVorbisComment(dataView) { const comment = getString(dataView, offset, commentLength); offset += commentLength; - const [key, value] = comment.split('='); + const ind = comment.indexOf('=') + const key = comment.substring(0, ind); - comments[key] = value; + comments[key] = comment.substring(ind+1); } return comments;