commit | c33b1f4673a13a3c3f3e129a0d96e51d563c4c71 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Mon Oct 05 23:16:57 2020 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Mon Oct 05 23:16:57 2020 -0400 |
tree | 837022c4bbe0c33a9688b8dcb36bed50643ba4ec | |
parent | 94dd9efd899dca1110466b799e23087ce5f75695 [diff] [blame] |
Fix #515
diff --git a/R/collapse_rows.R b/R/collapse_rows.R index 298c26f..a32c56e 100644 --- a/R/collapse_rows.R +++ b/R/collapse_rows.R
@@ -165,6 +165,7 @@ custom_latex_hline, headers_to_remove, target, col_names, longtable_clean_cut) { table_info <- magic_mirror(kable_input) + if (table_info$nrow <= 2) return(kable_input) out <- solve_enc(kable_input) out <- gsub("\\\\addlinespace\n", "", out)