Description Usage Arguments Functional Requirements Author(s) See Also
View source: R/sprinkle_html_preserve.R
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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),
...
)
|
x |
An object of class |
html_preserve |
|
... |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.