Skip to content

Conversation

@SpikedCola
Copy link
Contributor

This is:

  • a bugfix
  • a new feature
  • refactoring
  • additional unit tests

Checklist:

Why this change is needed?

This fixes an issue where excel complains about "unreadable content" if a cell contains a "\n".

These 3 characters, 0x09, 0x0a, and 0x0d were originally excluded from the list of control characters, but were added back by mistake in commit 250394d.

See issue #4619.

this fixes an issue where excel complains about "unreadable content" if a cell contains a "\n". these characters were originally excluded from the list, but were added by mistake in commit 250394d.
@oleibman oleibman changed the title Fix "Excel found unreadable content" when saving a file that contains a newline Fix "Excel2007 found unreadable content" when saving a file that contains a newline Aug 31, 2025
@oleibman oleibman added this pull request to the merge queue Sep 1, 2025
@oleibman
Copy link
Collaborator

oleibman commented Sep 1, 2025

Thank you for your contribution, and my apologies for the inconvenience.

Merged via the queue into PHPOffice:master with commit 8da69e5 Sep 1, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants