aidenlx / obsidian-icon-shortcodes

Obsidian Plugin: Insert emoji and custom icons with shortcodes
MIT License
138 stars 11 forks source link

Can't reference internal ID's #56

Open VeraMasc opened 1 year ago

VeraMasc commented 1 year ago

Using clip path or mask inside the SVG by referencing an ID doesn't work. It displays perfectly in every other context and in the manage icons preview but once you try to embed it it just gets ignored. I'm new to working with SVGs but from my research it's an issue with colliding ID's and there is no easy way to circumvent it other than changing how you embed them.

To reproduce this issue just

If you look it up to see if you can make those SVGs work I'd be really thankful.

Here's an example SVG that causes the bug.