sprinkle_html_preserve {pixiedust} | R Documentation |
Change the HTML Preserve Property in a Dust Table
Description
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.
Usage
sprinkle_html_preserve(
x,
html_preserve = getOption("pixie_html_preserve", TRUE),
...
)
## Default S3 method:
sprinkle_html_preserve(
x,
html_preserve = getOption("pixie_html_preserve", TRUE),
...
)
## S3 method for class 'dust_list'
sprinkle_html_preserve(
x,
html_preserve = getOption("pixie_html_preserve", TRUE),
...
)
Arguments
x |
An object of class |
html_preserve |
|
... |
Additional arguments to pass to other methods. Currently ignored. |
Functional Requirements
Change the
html_preserve
attribute of thedust
object.Cast an error if
x
is not adust
object.Cast an error if
html_preserve
is not logical(1).
Author(s)
Benjamin Nutter
See Also
[Package pixiedust version 0.9.4 Index]