commit | 68d4fe9e3fdd290c4c34b708f3174d574d7650a0 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Tue Jul 25 14:07:50 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Tue Jul 25 14:07:50 2017 -0400 |
tree | 8616e1d28edc6dcac586422770759a44cfa60b0d | |
parent | fd2ef9b08e5c7944ce76a241099d621a1aba2fec [diff] [blame] |
Fixed #29
diff --git a/R/kable_styling.R b/R/kable_styling.R index f68b60c..764e011 100644 --- a/R/kable_styling.R +++ b/R/kable_styling.R
@@ -269,7 +269,7 @@ caption_without_lab <- sub("\\\\label\\{[^\\}]*\\}", "", table_info$caption) repeat_header_text <- paste(caption_without_lab, repeat_header_text) } - continue_line <- paste0("\\caption{", repeat_header_text, "}\\\\") + continue_line <- paste0("\\caption[]{", repeat_header_text, "}\\\\") } x <- c(