Hi Peter,
Thanks for the response, but I'm using icon_dir (the folder method), not the JSON method so I don't believe the JSON documentation applies here.
The issue is that when MetaBox reads the SVG files from the folder and inlines them, the double quotes inside the SVG attributes (which are standard and valid SVG) appear to conflict with the surrounding HTML/JSON context, resulting in the label being displayed as:
analytics-01-stroke-rounded"> [icon] analytics-01-stroke-rounded
I was able to work around it by converting all double quotes inside the SVG attributes to single quotes, which resolved the issue. However, double-quoted attributes are completely valid SVG syntax, so this seems like a bug in how MetaBox reads and inlines SVG file contents.
Could this be looked into?