remove \lab{} in second header in repeat_header for longtable LaTeX
diff --git a/tests/visual_tests/longtable.Rmd b/tests/visual_tests/longtable.Rmd
index b586d79..fef0f3b 100644
--- a/tests/visual_tests/longtable.Rmd
+++ b/tests/visual_tests/longtable.Rmd
@@ -22,11 +22,16 @@
```
```{r}
-kable(dt, "latex", longtable = T, caption = "test", booktabs = T) %>%
+kable_input <- kable(dt, "latex", longtable = T, caption = "test", booktabs = T) %>%
kable_styling(latex_options = c("striped", "repeat_header"), repeat_header_text = "(...)")
```
```{r}
+kable(dt, "latex", longtable = T, caption = "test", booktabs = T) %>%
+ kable_styling(latex_options = c("striped", "repeat_header"), repeat_header_text = "continue of table 2", repeat_header_method = "replace")
+```
+
+```{r}
kable(dt, "latex", longtable = T, booktabs = T) %>%
add_header_above(c(" ", "a" = 6, "b" = 5)) %>%
kable_styling(latex_options = "repeat_header", repeat_header_text = "(cont.)")