qq15725 / modern-screenshot

📸 Quickly generate image from DOM node using HTML5 canvas and SVG
https://toolpkg.com/html-to-image
MIT License
504 stars 36 forks source link

At least tolerate url in href attributes for svg use-tags #44

Closed strindhaug closed 1 year ago

strindhaug commented 1 year ago

Description

Added tests and partial fix (prevents javascript crash) for https://github.com/qq15725/modern-screenshot/issues/43

TODO figure out how to support external svg's in use href tag (if at all possible).

Additional context


What is the purpose of this pull request?

Before submitting the PR, please make sure you do the following

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
modern-screenshot ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 2:02pm