Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addWorksheet cannot accept ampersand chararcters #27

Closed
bchr02 opened this issue Aug 10, 2015 · 3 comments
Closed

addWorksheet cannot accept ampersand chararcters #27

bchr02 opened this issue Aug 10, 2015 · 3 comments

Comments

@bchr02
Copy link

bchr02 commented Aug 10, 2015

Just starting out with exceljs and lost about 30 minutes trying to figure out why I kept getting corrupt excel files. It turns out the issue was because of an ampersand character in the worksheet name. In excel, these are allowed so I guess I assumed they would work.

For example, the following generates a corrupt workbook: workbook.addWorksheet("hello & bye");

@guyonroche
Copy link
Collaborator

Apologies for the delay. This probably just needs xml escaping on the worksheet name.
I'll look into it

@guyonroche
Copy link
Collaborator

Finally - Fixed in 0.2.4!

@bchr02
Copy link
Author

bchr02 commented Feb 2, 2016

Thank you!!!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants