Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUG] 'unexpected close tag' error when trying to read *.xlsm filesΒ #1316

@vanyadymousky

Description

@vanyadymousky

πŸ› Bug Report

Hello!
Upgraded to 3.10.0 occasionally (was ^3.9.0) and when trying to read *.xlsm files I got 'unexpected close tag' error. Was not able to track where it goes from the sources.

Lib version: 3.10.0 / 4.0.0

Steps To Reproduce

Reading file from a array buffer like this:

async (buffer: ArrayBuffer) => {
  const workbook = new Excel.Workbook();
  await workbook.xlsx.load(buffer);
  return workbook;
}

Then iterating workbook things like this:

workbook.eachSheet(sheet => {
  sheet.eachRow(row => {
    row.eachCell((cell: Cell) => {

The expected behaviour:

As it was before, xlsm file got read and saved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions