Giter Site home page Giter Site logo

Comments (5)

igagis avatar igagis commented on August 14, 2024 1

Hi,

I have just tried it on linux with latest sources. All works good for me.

Are you running it on windows? Do you install svgren via NuGet package?

from svgren.

igagis avatar igagis commented on August 14, 2024 1

Yes, it often happens that you spend a lot of time finding out that the problem is on your side if libraries don't give proper error information. I have just added unclosed tag detection to svgdom: cppfw/svgdom@db531cb and it is available in version 0.3.75.

from svgren.

VilleKrumlinde avatar VilleKrumlinde commented on August 14, 2024

This is on Windows, yes. I'll try upgrading and hopefully it solves it.

from svgren.

igagis avatar igagis commented on August 14, 2024

Ok, if it doesn't, feel free to reopen the bug, I'll try to reproduce it on Windows then.

from svgren.

VilleKrumlinde avatar VilleKrumlinde commented on August 14, 2024

After spending some more time investigating this, I found out it was 100% an error on my side. The file content got shortened in some string operations before svgren parsed it. Perhaps you could return an error code if there is no end svg-tag found. Sorry for taking your time and thanks for your great work on this library!

from svgren.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.