close
The Wayback Machine - https://web.archive.org/web/20201207231534/https://www.eatthis.com/newsletters/
Skip to content

Get the Latest Dish

Eat smarter and live healthier
with the best nutrition tips
and advice delivered daily
in the Eat This,
Not That! newsletter.

Just enter your
email address here:

s per http://validator.w3.org $svg.removeAttr('xmlns:a'); // Check if the viewport is set, if the viewport is not set the SVG wont't scale. if (!$svg.attr('viewBox') && $svg.attr('height') && $svg.attr('width')) { $svg.attr('viewBox 0 0 ' + $svg.attr('height') + ' ' +$svg.attr('width')); } $svg.addClass('svg-ready'); // Replace image with new SVG $img.replaceWith($svg); }, 'xml').fail(function() { $img.addClass('visible'); }); }); })(jQuery); s per http://validator.w3.org $svg.removeAttr('xmlns:a'); // Check if the viewport is set, if the viewport is not set the SVG wont't scale. if (!$svg.attr('viewBox') && $svg.attr('height') && $svg.attr('width')) { $svg.attr('viewBox 0 0 ' + $svg.attr('height') + ' ' +$svg.attr