Nothing
#' @description Rectify texts read from a metadata object
#' @return A character vector
#' @noRd
`cleanup` <- function(x, cdata = TRUE) {
x <- gsub("&", "&", x)
x <- gsub("<", "<", x)
x <- gsub(">", ">", x)
x <- gsub("^[[:space:]]+|[[:space:]]+$", "", x)
x <- gsub("\"", "'", x)
# replace backslash with a forward slash
x <- gsub("\\\\", "/", x)
if (cdata) {
x <- gsub("<\\!\\[CDATA\\[|\\]\\]>", "", x)
}
x <- replaceTicks(x)
return(x)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.