forked from sheetjs/sheetjs
Parse font bold-italic-strike-outline-shadow-superscript-subscript
This commit is contained in:
parent
37a031caee
commit
995f5e89bf
@ -53,7 +53,7 @@ function parse_fonts(t, opts) {
|
||||
case '<fonts': case '<fonts>': case '</fonts>': break;
|
||||
case '<font':
|
||||
break;
|
||||
case '</font>': styles.Fonts.push(font); console.log(font);font = {}; break;
|
||||
case '</font>': styles.Fonts.push(font); ;font = {}; break;
|
||||
|
||||
case '<name':
|
||||
if(y.val) font.name = y.val;
|
||||
|
2
xlsx.js
2
xlsx.js
@ -2245,7 +2245,7 @@ function parse_fonts(t, opts) {
|
||||
case '<fonts': case '<fonts>': case '</fonts>': break;
|
||||
case '<font':
|
||||
break;
|
||||
case '</font>': styles.Fonts.push(font); console.log(font);font = {}; break;
|
||||
case '</font>': styles.Fonts.push(font); ;font = {}; break;
|
||||
|
||||
case '<name':
|
||||
if(y.val) font.name = y.val;
|
||||
|
Loading…
Reference in New Issue
Block a user