commit | 9bab153e18c41d5d0c580933f9e7d48997b086d2 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Mon Jul 24 15:08:41 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Mon Jul 24 15:08:41 2017 -0400 |
tree | 185973e5724f9e88bf5cab4931fbc110913b6ec7 | |
parent | f2dfd14759a038dd9ec7b52e48728cc2be6e0f7e [diff] [blame] |
change read_xml to read_html + 2 xml_child
diff --git a/R/kable_styling.R b/R/kable_styling.R index fbd26f9..bf2da86 100644 --- a/R/kable_styling.R +++ b/R/kable_styling.R
@@ -101,7 +101,7 @@ "float_left", "float_right"), font_size = NULL) { kable_attrs <- attributes(kable_input) - kable_xml <- read_xml(as.character(kable_input), options = c("COMPACT")) + kable_xml <- read_kable_as_xml(kable_input) # Modify class bootstrap_options <- match.arg(