forked from sheetjs/sheetjs
		
	introduce fix for issue#1229
https://github.com/SheetJS/js-xlsx/issues/1229
This commit is contained in:
		
							parent
							
								
									d3d5bfc988
								
							
						
					
					
						commit
						ab445c8897
					
				| @ -80,13 +80,13 @@ function parse_wb_xml(data, opts)/*:WorkbookFile*/ { | ||||
| 			/* 18.2.5    definedName CT_DefinedName + */ | ||||
| 			case '<definedName': { | ||||
| 				dname = {}; | ||||
| 				dname.Name = y.name; | ||||
| 				dname.Name = utf8read(y.name); | ||||
| 				if(y.comment) dname.Comment = y.comment; | ||||
| 				if(y.localSheetId) dname.Sheet = +y.localSheetId; | ||||
| 				dnstart = idx + x.length; | ||||
| 			}	break; | ||||
| 			case '</definedName>': { | ||||
| 				dname.Ref = data.slice(dnstart, idx); | ||||
| 				dname.Ref = unescapexml(utf8read(data.slice(dnstart, idx))); | ||||
| 				wb.Names.push(dname); | ||||
| 			} break; | ||||
| 			case '<definedName/>': break; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user