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/magic_mirror.R b/R/magic_mirror.R index ade1472..93f6860 100644 --- a/R/magic_mirror.R +++ b/R/magic_mirror.R
@@ -93,7 +93,7 @@ #' @param kable_input The output of kable magic_mirror_html <- function(kable_input){ kable_info <- list() - kable_xml <- read_xml(as.character(kable_input)) + kable_xml <- read_kable_as_xml(kable_input) # Caption kable_info$caption <- xml_text(xml_child(kable_xml, "caption")) # Contents