BeAPI/acf-svg-icon

SVG Format?

Opened this issue · 2 comments

hi there,

great work...

I am using a font icon generated by icomoon but it seems your plugin does not like the SVG format generated by them.

first, it chokes on the xml doc-type declaration @ the top of my generated svg:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >

If i remove it, there is no error - but my icon list is blank:

image

is there any documentation on the expected format of the SVG file to ensure it has the correct nodes and mapping?

👋 @ccbayer, thx for the issue / suggestion, we will be digging this to give you an answer.

@Rahe @Cocola any idea about this ?

@ccbayer can I ask you to try with the enhancement/2's branch ? plz