Skip to content

Commit

Permalink
add pt unit to font-size in HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
drewsmith committed Apr 20, 2018
1 parent 04d5e49 commit 6916d5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bits/42_sstxml.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var parse_rs = (function parse_rs_factory() {

if(font.u) style.push("text-decoration: underline;");
if(font.uval) style.push("text-underline-style:" + font.uval + ";");
if(font.sz) style.push("font-size:" + font.sz + ";");
if(font.sz) style.push("font-size:" + font.sz + "pt;");
if(font.outline) style.push("text-effect: outline;");
if(font.shadow) style.push("text-shadow: auto;");
intro.push('<span style="' + style.join("") + '">');
Expand Down
2 changes: 1 addition & 1 deletion xlsx.flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -7149,7 +7149,7 @@ var parse_rs = (function parse_rs_factory() {

if(font.u) style.push("text-decoration: underline;");
if(font.uval) style.push("text-underline-style:" + font.uval + ";");
if(font.sz) style.push("font-size:" + font.sz + ";");
if(font.sz) style.push("font-size:" + font.sz + "pt;");
if(font.outline) style.push("text-effect: outline;");
if(font.shadow) style.push("text-shadow: auto;");
intro.push('<span style="' + style.join("") + '">');
Expand Down
2 changes: 1 addition & 1 deletion xlsx.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6916d5f

Please sign in to comment.