commit | 558c72f0df2dbf3944442c1816a98c636342530a | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Mon Jul 24 15:12:00 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Mon Jul 24 15:12:00 2017 -0400 |
tree | f56636960d9104a57f8b5d59448e6fd589e34b50 | |
parent | 9bab153e18c41d5d0c580933f9e7d48997b086d2 [diff] [blame] |
change read_kable_as_xml for the entire package
diff --git a/R/row_spec.R b/R/row_spec.R index 75e301b..0c71060 100644 --- a/R/row_spec.R +++ b/R/row_spec.R
@@ -36,7 +36,7 @@ row_spec_html <- function(kable_input, row, bold, italic) { kable_attrs <- attributes(kable_input) - kable_xml <- read_xml(as.character(kable_input), options = "COMPACT") + kable_xml <- read_kable_as_xml(kable_input) kable_tbody <- xml_tpart(kable_xml, "tbody") group_header_rows <- attr(kable_input, "group_header_rows")