commit | a6c9c324af5b81dc974790218a2978d7110eda79 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Tue Aug 11 22:14:34 2020 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Tue Aug 11 22:14:34 2020 -0400 |
tree | 216262161455937e04aa254a7e264db65aacb3bd | |
parent | 3483418041cebd9912cf26e369465aab580c3fa9 [diff] |
Fix #433
diff --git a/R/util.R b/R/util.R index 8c83003..528e9bd 100644 --- a/R/util.R +++ b/R/util.R
@@ -127,7 +127,7 @@ # insert empty_times before last non whitespace characters new_row <- str_replace( dup_row, "(?<=\\s)([\\S]+[\\s]*)$", - paste0("\\\\\\\\vphantom\\\\{", empty_times, "\\\\} \\1")) + paste0("\\\\\\\\vphantom\\\\{", empty_times, "\\\\}\\1")) kable_input <- sub(dup_row, new_row, kable_input) table_info$contents[i] <- new_row }