boxicons icon indicating copy to clipboard operation
boxicons copied to clipboard

XML Encoding Missing from SVG Icons

Open thekendog opened this issue 6 months ago • 3 comments

It looks like the "<?xml version="1.0" encoding="UTF-8"?>" is missing from the SVG icons. As a result, the icons don't render properly in my WordPress media library. Is there a way to fix that?

thekendog avatar Jun 23 '25 17:06 thekendog

can you please share an example

atisawd avatar Jun 25 '25 05:06 atisawd

Here's what I mean. The icon is not showing in the media library. However, the icon to the right of it which is from Lucide shows.

https://share.cleanshot.com/pXSHmHGr

Edit: I just realized the XML tag didn't show in my initial post. Woops.

thekendog avatar Jun 27 '25 16:06 thekendog

Looking at things more, it appears the XML encoding is missing when you download the SVG icon from the website.

thekendog avatar Jul 08 '25 00:07 thekendog