When using openpyxl 2.6 to process data, the spaces and line breaks before and after the data in the cell are lost after saving the execl

Issue #1241 new
created an issue

When we use openpyxl 2.6 to process data into execl, the beginning or end of the original data will contain multiple spaces or line breaks. This is the character we must need, but our openpyxl 2.6 when saving our data, Forcing away the spaces or line breaks that we have to keep is something we don't want developers to come up with a flexible and optional way to handle this. Test screenshots are provided below.

Comments (2)

  1. YanjinBi reporter

    I'm sorry, I 've been studying Python for months, and I'm not yet able to read the source code. Can you tell me how to solve this problem for a while? Thank you.

  2. Log in to comment