By default pixiedust
makes use of htmltools::htmlPreserve
to prevent certain symbols from rendering in unintended ways based on some
not-very-well-understood-by-the-author issues. This property controls whether
the preservation is used or not.
sprinkle_html_preserve(
x,
html_preserve = getOption("pixie_html_preserve", TRUE),
...
)# S3 method for default
sprinkle_html_preserve(
x,
html_preserve = getOption("pixie_html_preserve", TRUE),
...
)
# S3 method for dust_list
sprinkle_html_preserve(
x,
html_preserve = getOption("pixie_html_preserve", TRUE),
...
)
An object of class dust
logical(1)
indicating if the table is being produced
in a htmltools::htmlPreserve
environment.
Additional arguments to pass to other methods. Currently ignored.
Change the html_preserve
attribute of the dust
object.
Cast an error if x
is not a dust
object.
Cast an error if html_preserve
is not logical(1).
Benjamin Nutter
dust
, sprinkle
, htmlPreserve