JSFiddle - React, Tailwind, and code Playground

by jasongennaro

HTML

<a title="Show products matching tag Red Blend" href="/collections/50-to-100/red-blend">Red Blend</a>

JavaScript

var a = $('a').text();
var b = a.replace(/\s/g, '&nbsp;');
$('a').html(b);