Streaming live at 10am (PST)

Why does the embed editor give me an error for iconify svg?

hey there folks :slight_smile:
I am still learning to use webflow and I was wondering if anyone knows why I am getting a code validation error when I try to embed an icon from iconify. The following is the icon and in the embed editor I get “custom code is not validated”. What am I missing?

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-primary" d="M17 18H7a1 1 0 0 1-1-1V7a1 1 0 0 1 2 0v9h9a1 1 0 0 1 0 2z" fill="#626262"/><path class="uim-primary" d="M7 18a1 1 0 0 1-.707-1.707l10-10a1 1 0 0 1 1.414 1.414l-10 10A.997.997 0 0 1 7 18z" fill="#626262"/></svg>

Your code looks fine. :+1:

That message is displayed on every custom code block.

Just a little message informing you that Webflow doesn’t make sure your code works before running it.

super duper thanks @Drew_Schafer :slight_smile: