Re-fix #34
diff --git a/R/kable_styling.R b/R/kable_styling.R
index 7555d3e..9049ac2 100644
--- a/R/kable_styling.R
+++ b/R/kable_styling.R
@@ -334,7 +334,7 @@
     x[index_bottomrule - 1] <- paste0(x[index_bottomrule - 1], "*")
 
     if (repeat_header_continued == FALSE) {
-      bottom_part <- "\\endfoot\n\\bottomrule\n\\endlastfoot"
+      bottom_part <- "\\\n\\endfoot\n\\bottomrule\n\\endlastfoot"
     } else {
       if (repeat_header_continued == TRUE) {
         bottom_text <- "\\textit{(continued \\ldots)}"
@@ -342,7 +342,7 @@
         bottom_text <- repeat_header_continued
       }
       bottom_part <- paste0(
-        "\\bottomrule\n",
+        "\\midrule\n",
         "\\multicolumn{", table_info$ncol, "}{r@{}}{", bottom_text, "}\\\n",
         "\\endfoot\n",
         "\\bottomrule\n",