commit | f2ebf9e9ab21f7e9eb06345b4be32d87fa63324a | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Thu Sep 14 11:40:49 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Thu Sep 14 11:40:49 2017 -0400 |
tree | 02984b1bdbddbb64a2c12c9eb4e8e5936eefde28 | |
parent | f03decd975c511b8f33f824cb2869c02fb241543 [diff] [blame] |
fix a bug in column_spec, fix kable_as_image in windows
diff --git a/R/column_spec.R b/R/column_spec.R index 615a22e..97dcd06 100644 --- a/R/column_spec.R +++ b/R/column_spec.R
@@ -183,7 +183,7 @@ color <- sprintf("\\\\color{%s}", color) } - if (!is.null(color)) { + if (!is.null(background)) { background <- sprintf("\\\\columncolor{%s}", background) }