You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aaa <- HTML(as.character(shiny::icon("times")))
htmlDependencies(aaa) <- rmarkdown::html_dependency_font_awesome()
browsable(aaa) # which won't print the FA icon
html_print(aaa) # which will print the icon
The text was updated successfully, but these errors were encountered:
I'm also willing to submit a PR but I hope someone could let me know whether it would be better to remove this HTML call (cuz this is the print function for the html class already), or you think it would be better to keep it and have some extra step to preserve the html dependency attributes.
Hi, I noticed that
print.html
callsHTML
again in function. This call removes all the HTML dependencies on the original object.htmltools/R/tags.R
Lines 223 to 229 in 4b34e98
Here is an example.
The text was updated successfully, but these errors were encountered: