commit | 6eb2950b4dc1bb64af6ea4f889598c6a5ebb6e13 | [log] [tgz] |
---|---|---|
author | Duncan Murdoch <murdoch.duncan@gmail.com> | Sun Dec 16 20:21:00 2018 -0500 |
committer | Duncan Murdoch <murdoch.duncan@gmail.com> | Sun Dec 16 20:21:00 2018 -0500 |
tree | 234f534da5803a2333c4de4539c633d1554327ea | |
parent | c106041d17aebc35a34ee842d38c8c8f5332f778 [diff] |
Wrong kind of brackets!
diff --git a/R/column_spec.R b/R/column_spec.R index 517f07f..71a4b22 100644 --- a/R/column_spec.R +++ b/R/column_spec.R
@@ -230,8 +230,8 @@ kable_align_new <- paste(table_info$align_vector, collapse = align_collapse) - out <- sub(paste0("\\[", kable_align_old, "\\]"), - paste0("\\[", kable_align_new, "\\]"), + out <- sub(paste0("\\{", kable_align_old, "\\}"), + paste0("\\{", kable_align_new, "\\}"), solve_enc(kable_input), perl = T)