Not valid SVG from library

[ad_1]

Hi @audunmb,

Sorry for the trouble. This notice can sometimes appear when comments have been added to the SVG file. In this case, the following is added at the top of the file:

<!-- Generator: Adobe Illustrator 26.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->

If you open the original SVG file and remove that comment, and re-upload to your media library, you should be good.

I will see if there is a way to automatically remove comments like this in a future version of the plugin.

Let me know if you continue to experience issues.

Best,
Nick

Edit: OK, the comment was the issue. A way to remove or ignore them will be great.

  • This reply was modified 6 minutes ago by audunmb.

Ahh good to know. I will see if there is a way to automatically remove this if present. Thanks for the follow up.

Best,
Nick

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer