Fix #229
diff --git a/R/kable_styling.R b/R/kable_styling.R
index f3f9136..5dc7c25 100644
--- a/R/kable_styling.R
+++ b/R/kable_styling.R
@@ -502,7 +502,7 @@
   # fontsize is good enough
   return(paste0(
     "\\begingroup\\fontsize{", font_size, "}{", row_height, "}\\selectfont\n", x,
-    "\\endgroup{}"
+    "\n\\endgroup{}"
   ))
 }