Bioconductor / BiocStyle

Issues and pull requests for BiocStyle should go here.
12 stars 20 forks source link

dev: "svg" does not generate a well formed xml image #58

Open averissimo opened 5 years ago

averissimo commented 5 years ago
> BiocManager::version()
[1] ‘3.8’

> installed.packages() %>% as.data.frame() %>% filter(Package == 'BiocStyle') %>% select(Package, Version, Built)
    Package Version Built
1 BiocStyle  2.10.0 3.5.1

The following example fails to generate a proper html vignette with svg, while using "html_document" works correctly

test-SVG.Rmd

It produces an incomplete xml for the SVG image:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
  "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg width="620" height="296">
<g style="</svg>
averissimo commented 5 years ago

Same error for dev: 'svglite'