Closed atyre2 closed 7 years ago
Awesome package, thank you!
library(huxtable) ht <- hux( Statistic = c('χ<sup>2</sup>'), add_colnames = TRUE ) print_html(ht) escape_contents(ht)[1,1] escape_contents(ht)[1,1] <- FALSE print_html(ht)
Doesn't seem to matter what I do I end up with
&chi;<sup>2</sup>
in the table cell.
When I edit the html file manually it works as expected. I'm using 0.3.0 with R 3.4.0.
OMG FACEPALM.
escape_contents(ht)[2,1] <- FALSE
b/c the top row is the header -- this has caught me off guard a couple times ...
Awesome package, thank you!
Doesn't seem to matter what I do I end up with
in the table cell.
When I edit the html file manually it works as expected. I'm using 0.3.0 with R 3.4.0.