JSFiddle - React, Tailwind, and code Playground

by taylorbuley

HTML

<div class="logo" data-parade-type="promoarea" data-parade-location-types="promoarea" data-parade-location-ids="logo" itemscope="" itemtype="http://data-vocabulary.org/Organization">	<a href="http://voices-dev.parade.com/" itemprop="url">
							<img src="data:...

JavaScript

var imgs = document.getElementsByTagName('img');
        var x = 0,
            xlen = imgs.length,
            xitem;
        for (; x < xlen; x += 1) {
            xitem = imgs[x];
            if ('true' === xitem.getAttribute('data-parade-image-inlining')) {
                xitem.src = xitem.getAttribute('data-parade-image');
            }
        }