commit | bf982257bc4e4e82e8508aa9b8a934aebea5728e | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Tue Aug 11 01:08:37 2020 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Tue Aug 11 01:08:37 2020 -0400 |
tree | ef517efa9bec8971f79e9e0d6b58c3a511060f49 | |
parent | 9bf19981f852d360572761222e3ca8b93fbd6831 [diff] [blame] |
Fixed #450
diff --git a/R/scroll_box.R b/R/scroll_box.R index 39405cf..a1d1835 100644 --- a/R/scroll_box.R +++ b/R/scroll_box.R
@@ -30,7 +30,10 @@ extra_css = NULL, fixed_thead = TRUE ) { - + kable_format <- attr(kable_input, "format") + if (kable_format != "html") { + return(kable_input) + } kable_attrs <- attributes(kable_input) fixed_thead <- get_fixed_thead(fixed_thead) if (is.null(height)) fixed_thead$enabled <- FALSE