react-magic icon indicating copy to clipboard operation
react-magic copied to clipboard

complex style prop not parsed correctly

Open danielberndt opened this issue 7 years ago • 0 comments

I've got a style attribute generated by gatsby-remark-images that looks like this:

style="padding-bottom: 75%; position: relative; bottom: 0; left: 0; background-size: cover; display: block; background-image: url('data:image/jpeg;base64,/9j/2w[...]1XP//Z');"

The current approach of dealing with style attributes does not account for more complex cases like this.

Here's a pr for a different project dealing with the same issue.

If I submit a PR for this, is there any chance for it to be released?

danielberndt avatar Oct 10 '18 14:10 danielberndt