commit | e5bfbf1215bbf64a9c295f4991d0e5992e440335 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Tue Jun 06 00:24:49 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Tue Jun 06 00:24:49 2017 -0400 |
tree | 30f24eb795efb6a773e3ba1a83fe19f25a21689d | |
parent | 5353dc04c408ec070cce3608fc9af04eae40ae54 [diff] [blame] |
bug fixed: https://stackoverflow.com/questions/44360040/group-rows-function-in-kableextra-package-not-grouping-rows
diff --git a/R/add_indent.R b/R/add_indent.R index 33ad6f7..3fc2837 100644 --- a/R/add_indent.R +++ b/R/add_indent.R
@@ -38,7 +38,7 @@ out <- kable_input for (i in positions) { rowtext <- table_info$contents[i + 1] - out <- sub(rowtext, latex_indent_unit(rowtext), out) + out <- sub(rowtext, latex_indent_unit(rowtext), out, perl = TRUE) } return(out) }