- Fix a bug in collapse_row on removing addlinespace
- remove addlinespace from group_rows
- add monospace to column_spec
diff --git a/R/group_rows.R b/R/group_rows.R
index 7b2ad33..c38aaae 100644
--- a/R/group_rows.R
+++ b/R/group_rows.R
@@ -98,6 +98,7 @@
     )
   }
   out <- sub(rowtext, new_rowtext, out)
+  out <- gsub("\\\\addlinespace\n", "", out)
   table_info$group_rows_used <- TRUE
   attr(out, "kable_meta") <- table_info
   out <- add_indent(out, seq(start_row, end_row))