Fix #367
diff --git a/R/add_header_above.R b/R/add_header_above.R
index f3f3b8b..48fbc3f 100644
--- a/R/add_header_above.R
+++ b/R/add_header_above.R
@@ -218,16 +218,11 @@
                     "deg); -o-transform: rotate(", angle,
                     "deg); transform: rotate(", angle,
                     "deg); display: inline-block; ")
-    if (include_empty) {
-      header_df$header <- paste0('<span style="', angle, '">',
-                                 header_df$header, '</span>')
-    } else {
       header_df$header <- ifelse(
-        trimws(header_df$header) == "",
+        trimws(header_df$header) == "" | include_empty,
         header_df$header,
         paste0('<span style="', angle, '">', header_df$header, '</span>')
       )
-    }
   }
 
   if (is.null(lightable_class)) {
@@ -264,7 +259,7 @@
   row_style <- sprintf(row_style, align)
 
   header_items <- ifelse(
-    trimws(header_df$header) == "",
+    trimws(header_df$header) == "" | include_empty,
     paste0('<th style="empty-cells: hide;', border_hidden, '" colspan="', header_df$colspan,
            '"></th>'),
     paste0(