Adding a custom icon with attributes such as fill-rule, stroke-width and stroke-dasharray, the hyphen in the attribute names are removed in the database and in the frontend. They do, however, show up correctly in the editor.
As an example, adding this custom icon in an icon block:
Adding a custom icon with attributes such as fill-rule, stroke-width and stroke-dasharray, the hyphen in the attribute names are removed in the database and in the frontend. They do, however, show up correctly in the editor.
As an example, adding this custom icon in an icon block:
Ends up with this in the post content:
And renders in the frontend:
But as mentioned, they are rendered with hyphens and look correct in the editor itself.