commit | 45122dccaad5ce406ac129c109637d3969221458 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Sun Jan 06 11:12:57 2019 -0500 |
committer | GitHub <noreply@github.com> | Sun Jan 06 11:12:57 2019 -0500 |
tree | 62ee8e9821ef1504080f23d954ca79973e4c24df | |
parent | 50f72068928a04485967cd6420acf2c430d40963 [diff] | |
parent | 6eb2950b4dc1bb64af6ea4f889598c6a5ebb6e13 [diff] |
Merge pull request #311 from dmurdoch/column_spec The old align could be "l", matching the "l" in "tabular".
diff --git a/R/column_spec.R b/R/column_spec.R index ae9edff..71a4b22 100644 --- a/R/column_spec.R +++ b/R/column_spec.R
@@ -230,7 +230,8 @@ kable_align_new <- paste(table_info$align_vector, collapse = align_collapse) - out <- sub(kable_align_old, kable_align_new, + out <- sub(paste0("\\{", kable_align_old, "\\}"), + paste0("\\{", kable_align_new, "\\}"), solve_enc(kable_input), perl = T)