- Notifications
You must be signed in to change notification settings - Fork1.9k
Export shared strings with RichText#1099
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
hmm.. should we add some documentation about these changes? |
@Siemienik But I'm new here, so tell me if I should consider more :) |
@kigh-ota ok, it's my gap, sorry abut this, You are right :) |
@Siemienik |
Uh oh!
There was an error while loading.Please reload this page.
This PR is intended tofix#633.
When an Excel file is read, a shared string with rich text (
<r>
) nodes inside is correctly parsed and reconciled into aCellXform
object like below.However,
XLSX#writeFile()
converts this object into an empty cell in the exported Excel file, becauseCellXform#prepare()
and#render()
do nothing whenmodel.type === Enums.ValueType.RichText
.To fix this, the both methods now handle
RichText
in the same way asString
.