Closed rossburton closed 3 years ago
If I call draw.style() to create a top-level stylesheet:
draw.style()
draw.style(".header", {fill: "black", font: "20px ff-brokenscript-bc-web, serif"});
This results in the following elements in the SVG:
<style fill="black" font="20px ff-brokenscript-bc-web, serif">.header</style>
I'd have expected something more like:
<style> .header { fill: black; font: 20px ff-brokenscript-bc-web, serif; } </style>
Fixed in master!
If I call
draw.style()
to create a top-level stylesheet:This results in the following elements in the SVG:
I'd have expected something more like: