Git Product home page Git Product logo

Comments (7)

jkphl avatar jkphl commented on May 17, 2024

Thanks for this detailed report, @ted451! I'm on a conference right now, but will look into this as soon as I find some time! Cheers, Joschi

from svg-sprite.

paazmaya avatar paazmaya commented on May 17, 2024

Just had the similar issue, with the exact same resulting id.
For the mean time used a regular expression to simply remove all non ascii characters....

from svg-sprite.

jkphl avatar jkphl commented on May 17, 2024

Thanks @paazmaya. I'll try to work on it today or tomorrow!

from svg-sprite.

jkphl avatar jkphl commented on May 17, 2024

@ted451 @paazmaya Anyone subscribed to this issue: Could you please send me an original SVG file that reproducibly leads to this error (via email to [email protected] or inline to this issue)? Thanks!

from svg-sprite.

ted451 avatar ted451 commented on May 17, 2024

@jkphl I have sent the files via email. Here are the steps that allowed me to reproduce the bug:

  1. create test src dir, put files in it
  2. create multiple copies of files, I did copy/paste about 20 times or so.
  3. now create a sprite and open resulting svg file (I was using Chrome to view it)
  4. some icons will have shadows, but some will not β€”Β the ones that don't have a shadow are the ones with broken ID's. You will have to look closely, it's probably only one icon.

from svg-sprite.

jkphl avatar jkphl commented on May 17, 2024

Thanks a lot @ted451, will try to work on it as soon as possible! :)

from svg-sprite.

jkphl avatar jkphl commented on May 17, 2024

Thanks @ted451 & @paazmaya β€” should work now! New npm release to follow shortly ... :)

from svg-sprite.

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.