added linebreak support to all kableExtra functions
diff --git a/R/add_footnote.R b/R/add_footnote.R
index eaee90c..feb1269 100644
--- a/R/add_footnote.R
+++ b/R/add_footnote.R
@@ -97,6 +97,7 @@
     # Clean the entry for labels
     if (escape) {
       label <- escape_latex(label)
+      label <- linebreak(label)
     }
     label <- gsub("\\\\", "\\\\\\\\", label)
 
diff --git a/R/footnote.R b/R/footnote.R
index 77452ab..42b76a5 100644
--- a/R/footnote.R
+++ b/R/footnote.R
@@ -84,7 +84,9 @@
       footnote_titles <- lapply(footnote_titles, escape_html)
     } else {
       footnote_contents <- lapply(footnote_contents, escape_latex2)
+      footnote_contents <- lapply(footnote_contents, linebreak)
       footnote_titles <- lapply(footnote_titles, escape_latex2)
+      footnote_titles <- lapply(footnote_titles, linebreak)
     }
   }
   footnote_table <- footnote_table_maker(
diff --git a/R/group_rows.R b/R/group_rows.R
index c7531b1..f93a4d7 100644
--- a/R/group_rows.R
+++ b/R/group_rows.R
@@ -154,8 +154,8 @@
   }
 
   if (escape) {
-    group_label <- escape_latex(group_label)
-    group_label <- gsub("\\\\", "\\\\\\\\", group_label)
+    group_label <- escape_latex2(group_label)
+    group_label <- linebreak(group_label, align = latex_align, double_escape = TRUE)
   }
 
   if(bold){