Convert possible factor to character in linebreak
diff --git a/R/linebreak.R b/R/linebreak.R
index e090a5e..54d7cae 100644
--- a/R/linebreak.R
+++ b/R/linebreak.R
@@ -13,6 +13,7 @@
 linebreak <- function(x, align = c("l", "c", "r"), double_escape = F,
                       linebreaker = "\n") {
   if (is.numeric(x) | is.logical(x)) return(x)
+  x <- as.character(x)
   align <- match.arg(align, c("l", "c", "r"))
   if (double_escape) {
     ifelse(str_detect(x, linebreaker),
diff --git a/inst/NEWS.md b/inst/NEWS.md
index 2a0d1f2..a389439 100644
--- a/inst/NEWS.md
+++ b/inst/NEWS.md
@@ -1,3 +1,10 @@
+kableExtra 1.0.0
+--------------------------------------------------------------------------------
+# Major Changes
+
+# Bug Fixes
+* Fixed an issue that prevents linebreak works with factor
+
 kableExtra 0.9.0
 --------------------------------------------------------------------------------
 * Major Change: Now when you load `kableExtra` package, it will automatically