Closed jrvianna closed 7 years ago
OK,
<
(and few other characters) should be translated into HTML codes. Until it's been solved, a workaround could be:
table <- data.frame(Variable = c("A", "B", "C"), P.value = c("0.05", "<0.01", "a<0.01"))
vanilla.table(table)
This will be rendered as expected within an HTML document but not within a Word document...
David
When generating a html from a Rmd document, if the text in a cell starts with
<
, the resulting text would include<span style=“font-size:11pt;font-family:Times New Roman;color:rgba(0, 0, 0, 1);”>
before the proper text (Using Rstudio Knit HTML button). This doesn't happen when visualizing the FlexTable object in the Viewer tab, or when saving to a word file with writeDoc.Reproducible code chunk example:
Session Info
PS: Thanks very much for the wonderful package!