commit | 7f7293e988976552456f7133ba5388a33bd248db | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Fri Oct 27 11:36:18 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Fri Oct 27 11:36:18 2017 -0400 |
tree | 760291e3dfb3ec2232bd71de1691f19feb43afdc | |
parent | 6a1cbb5d94e7a3ec88e5247527c866b4ab0beba7 [diff] |
Fix #89
diff --git a/R/add_header_above.R b/R/add_header_above.R index 5439d75..5231c7f 100644 --- a/R/add_header_above.R +++ b/R/add_header_above.R
@@ -94,7 +94,7 @@ ) header_items <- apply(header_df, 1, function(x) { if (trimws(x[1]) == "") { - paste0('<th style="border-bottom:hidden"></th>') + paste0('<th style="border-bottom:hidden" colspan="', x[2], '"></th>') } else { paste0('<th style="text-align:center; border-bottom:hidden; ', 'padding-bottom:0; padding-left:3px;padding-right:3px;',