From 3f9ef14a355aa46549ba7687d8038654067f28e6 Mon Sep 17 00:00:00 2001 From: purusothsv13 <37093645+purusothsv13@users.noreply.github.com> Date: Tue, 24 May 2022 11:01:50 +0530 Subject: [PATCH] Update Application property Update Workbook property only if it is not already set in the Workbook object. --- xlsx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlsx.js b/xlsx.js index c16cf23..9aa692d 100644 --- a/xlsx.js +++ b/xlsx.js @@ -5571,7 +5571,7 @@ function parse_ext_props(data, p, opts) { function write_ext_props(cp) { var o = [], W = writextag; if(!cp) cp = {}; - cp.Application = "SheetJS"; + if(!cp.Application) cp.Application = "SheetJS"; o[o.length] = (XML_HEADER); o[o.length] = (writextag('Properties', null, { 'xmlns': XMLNS.EXT_PROPS, -- 2.34.1