We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The children of a nested HTML tag gets rendered as code instead of literal HTML when using prependContent() and saveWidget(..., selfcontained = T)
prependContent()
saveWidget(..., selfcontained = T)
library(htmltools) library(htmlwidgets) one <- tags$div("Some text") two <- tags$div(one) p <- prependContent(leaflet::leaflet(), two) saveWidget(p, "index.html")
Interestingly enough this same example works as expected when selfcontained = FALSE
selfcontained = FALSE
saveWidget(p, "index.html", selfcontained = FALSE) # this also works p <- prependContent(leaflet::leaflet(), one) saveWidget(p, "index.html")
So, perhaps this is a pandoc issue?
The text was updated successfully, but these errors were encountered:
remove leading whitespace before converting from markdown to HTML; fixes
93d5e50
ramnathv#257
Successfully merging a pull request may close this issue.
The children of a nested HTML tag gets rendered as code instead of literal HTML when using
prependContent()
andsaveWidget(..., selfcontained = T)
Interestingly enough this same example works as expected when
selfcontained = FALSE
So, perhaps this is a pandoc issue?
The text was updated successfully, but these errors were encountered: