Getting html characters into kable table

I'm trying to get some white space characters into the pack_rows headers with no luck. Any advice?

Sorry I can't get the reprex to render with the html characters, but this code should be reproducible. Thanks!

  library(kableExtra)
  
  # no html - works
  pack_rows(kbl(head(mtcars)), "Group A", 2, 5)
  
  # html space - doesn't work
  pack_rows(kbl(head(mtcars)), "Group A", 2, 5)
  
  # html space - doesn't work
  pack_rows(kbl(head(mtcars), escape = F), "Group A", 2, 5, escape = F)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.