JSFiddle - React, Tailwind, and code Playground
HTML
<div id="foo">
<small>Menu updated</small>
<span innerhtml="19 hours ago"></span>
</div>
<div id="bar">
<small>Something Else</small>
<span innerhtml="lolwhut"></span>
</div>
JavaScript
$('body').find('span[innerhtml]').each(function() {
$(this).html($(this).attr('innerhtml'));
});