devicon
devicon copied to clipboard
[BUG]: Maven SVG markup looks invalid
I have searched through the issues and didn't find my problem.
- [x] Confirm
Bug description
Issue:
When using the "Using Pure SVG" button to copy an icon from the Devicon website and pasting it into the Excalidraw whiteboard, it doesn't work for the "maven-original" and "maven-original-wordmark" icons.
Steps to Reproduce:
- Search for "maven" on the Devicon website and select the Maven icon.
- Select SVG versions "maven-original" or "maven-original-wordmark".
- Copy "Using Pure SVG".
- Paste the copied SVG onto the Excalidraw whiteboard.
Expected:
- The icon should be successfully pasted onto the whiteboard.
Actual:
- The following error message appears on the Excalidraw whiteboard: "Couldn't insert SVG image. The SVG markup looks invalid."
Possible fixes or solutions
- It's unclear whether the issue lies with the specific icon or if the icon is simply too advanced for Excalidraw to handle when pasted directly as a pure SVG.
- Try using a more simplified version of the SVG, or manually clean the SVG code to remove unnecessary attributes or metadata that could be causing the issue.
- As a workaround, you can download the SVG from the CDN and then upload it to Excalidraw without any issues.
Additional information
No response