Core: Cache parsed value in colspan. Fixes #1708

This commit is contained in:
Rob Garrison 2020-03-03 05:52:06 -06:00
parent 6ca6d099c2
commit 07d7c71780

View File

@ -982,7 +982,7 @@
// instead of setting duplicate span to empty string, use textExtraction to try to get a value
// see http://stackoverflow.com/q/36449711/145346
txt = c.duplicateSpan || index === 0 ?
val :
txt :
typeof c.textExtraction !== 'string' ?
ts.getElementText( c, cell, cacheIndex + index ) || '' :
'';