row_spec(hline_after) uses midrule for booktabs
diff --git a/R/row_spec.R b/R/row_spec.R
index d056c4a..3eabf79 100644
--- a/R/row_spec.R
+++ b/R/row_spec.R
@@ -310,7 +310,11 @@
   } else {
     latex_after <- "\\\\\\\\"
     if (hline_after) {
-      latex_after <- paste0(latex_after, "\n\\\\hline")
+      if (table_info$booktabs) {
+        latex_after <- paste0(latex_after, "\n\\\\midrule")
+      } else {
+        latex_after <- paste0(latex_after, "\n\\\\hline")
+      }
     }
     if (!is.null(extra_latex_after)) {
       latex_after <- paste0(latex_after, "\n",