I've been exporting html widgets using htmlwidgets for a few years now and have just begun to run into this issue.
Whenever I export a widget as self-contained, it adds a bunch of paraphraph symbols to the top left of the chart or table.
I updated Rstudio, R, and all my packages and the issue still occurs.
Interestingly, it doesn't insert those symbols when I export as selfcontained=FALSE. Is anyone else running into this issue? I'm working on a macos Ventura 13.0.1 with Apple silicon.
Example code below.
library(tidyverse)
library(htmlwidgets)
library(DT)
Name <- c("A", "B")
Value <- c(5438, 3192, 3215, 1660)
df <- data.frame(Name, Value)
table <- datatable(df)
saveWidget(table, file="table.html", selfcontained = TRUE)