Closed malps13 closed 9 years ago
Ah, It doesn't support inline styles. Is there an option to export styles as attributes in Inkscape?
I think you should stick to the SVG 1.1 specifications. You should be able to load all SVG 1.1 conformant files. Have you checked the parsing code of Snap.svg? https://github.com/adobe-webplatform/Snap.svg/tree/master/src
@malps13 Try the latest version. Added basic support for the inline style attribute, so your example should work now.
I've made a simple shape in Inkscape and tried to load it with SVG-Morpheus but with no effect - nothing has shown up and no error was fired. SVG looked like this:
I believe the problem is the 'd' attribute structure. Library seems to have a problem with different than expected formatting, I think it expects capital letters and no spaces in some cases.