commit | b3f26aec0390f5bf66949b60c04ec5b34396551b | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Tue Aug 04 00:36:52 2020 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Tue Aug 04 00:36:52 2020 -0400 |
tree | 9418d6276824eed94ccc490ed3b6ade9d820b485 | |
parent | 069fcef0f48ad527595bbff22bd1cfdfc22e26b3 [diff] [blame] |
Fix #464
diff --git a/R/collapse_rows.R b/R/collapse_rows.R index b837194..5491529 100644 --- a/R/collapse_rows.R +++ b/R/collapse_rows.R
@@ -238,7 +238,7 @@ ) new_contents[i] <- paste0(new_contents[i], "\\\\\\\\\n", row_midrule) } - out <- sub(contents[i + 1], new_contents[i], out) + out <- sub(contents[i + 1], new_contents[i], out, perl=TRUE) } out <- gsub("\\\\addlinespace\n", "", out)