wml_str <- function(str){
paste0( "\n",
"",
str,
""
)
}
pml_str <- function(str){
paste0( "\n",
"",
str,
""
)
}
has_css_color <- function(x, atname, color){
css <- format(x, type = "html")
reg <- sprintf("%s:%s", atname, color)
grepl(reg, css)
}
has_css_attr <- function(x, atname, value){
css <- format(x, type = "html")
reg <- sprintf("%s:%s", atname, value)
grepl(reg, css)
}