peterflynn / svg-preview

Brackets extension to live preview SVG files inline as you edit them
46 stars 8 forks source link

External stylesheets not working #11

Open thany opened 10 years ago

thany commented 10 years ago

I've created a couple of svgs using xml external stylesheets. They work fine in a browser (tested Chrome, Firefox and IE), even when loaded from the local filesystem. In Brackets, it's as if the stylesheet isn't there.

I'm using it like this:

<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="../css/svgness.css"?>
<svg...

That css url is relative to the location of the svg.

Using Bracket 41, Windows 7, and SVG Preview 1.1.2.