commit | c106041d17aebc35a34ee842d38c8c8f5332f778 | [log] [tgz] |
---|---|---|
author | Duncan Murdoch <murdoch.duncan@gmail.com> | Sun Dec 16 20:05:30 2018 -0500 |
committer | Duncan Murdoch <murdoch.duncan@gmail.com> | Sun Dec 16 20:05:30 2018 -0500 |
tree | 9324abf1c1203e99610eff9ac31bf703e14f4d75 | |
parent | 99b88f0295c0b0468dd282069e007a8ca78186d0 [diff] |
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..517f07f 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)