commit | 63c1aa96ed27b9e65aeb0d05dcb144fefacec23a | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Sun Oct 04 22:39:52 2020 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Sun Oct 04 22:39:52 2020 -0400 |
tree | abbe1ef1e0430498bf8299f1c89708c5aaf37f46 | |
parent | bdcffde135d1c6df32e8d8b47bfab6a7ad30cf4c [diff] [blame] |
Fixed #516
diff --git a/R/util.R b/R/util.R index 4e5274f..785c6ad 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( paste0(dup_row, "(?=\\s*\\\\\\\\\\*?(\\[.*\\])?)"), new_row,