Description Usage Arguments Details Value
Some version of Firefox don't display correctly SVG files that have a
clip-path
element set. This function detects and removes this element from
any SVG files included within any subfolders given as a path.
1 | fix_clip_path(path)
|
path |
the path of a folder of a project that may contain SVG files. |
The diff between the files affected by this script and the original might be
significantly different, as the entire content of the file is parsed and
rewritten (using the xml2
package). This has the side effect of
potentially affecting the order of the elements of the file leading to large
diffs.
A character vector of the absolute paths of the affected SVG files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.