sul-cidr / josquin-ribbon

http://ribbon.stanford.edu/
BSD 3-Clause "New" or "Revised" License
12 stars 0 forks source link

Better support for SVG prettifying on export #235

Closed simonwiles closed 4 years ago

simonwiles commented 4 years ago

There are browsers (Brave was the one I found) that can support the XSLT transformations but fail the feature check because the methods are exposed on instances but not on the class constructor -- however, FF also exposes the needed methods on instances but fails the transform :(. So I'm wrapping the whole thing in try {} catch {} instead, and having done with it :)

simonwiles commented 4 years ago

So it seems that this breaks Safari... Not many people open SVGs in text editors anyway, so let's just leave this alone and move along...