commit | f2100838b574b7babcfd994dfc7f816a0e79183a | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Thu Jan 11 16:20:29 2018 -0500 |
committer | Hao Zhu <haozhu233@gmail.com> | Thu Jan 11 16:20:29 2018 -0500 |
tree | e79a13e2839dccbafa0b4c8757e37fa07beb495b | |
parent | 4f8eaa28462edd4a290e3c17ebca6887a4b778e3 [diff] [blame] |
Apply class kableExtra to all HTML functions
diff --git a/R/add_header_above.R b/R/add_header_above.R index 5231c7f..bf99378 100644 --- a/R/add_header_above.R +++ b/R/add_header_above.R
@@ -68,6 +68,7 @@ xml_add_child(kable_xml_thead, new_header_row, .where = 0) out <- as_kable_xml(kable_xml) attributes(out) <- kable_attrs + if (!"kableExtra" %in% class(out)) class(out) <- c("kableExtra", class(out)) return(out) }