JSFiddle - React, Tailwind, and code Playground
by honk1
HTML
<body>
Lorizzle ipsizzle dolor sit amizzle, my shizz adipiscing elit. Nullizzle sapizzle velit, that's the shizzle volutpizzle, suscipizzle , fo ®shizzle vizzle, fo shizzle. Pellentesque own yo' fo shizzle mah nizzle fo rizzle, mah home g-dizzle. Sed erizzle. Yo izzle you son of a bizzle uhuh ... yih! phat you son of a bizzle phat. Daahng dawg pellentesque dope et nizzle. Vestibulum izzle phat. Pellentesque eleifend® da bomb stuff. In yippiyo away platea dictumst. Doggy dapibizzle. Bling bling tellizzle stuff, pretizzle owned, boom shackalack ac, doggy vitae, boofron. bizzle. Integer bizzle velit away its fo rizzle.
Curabitizzle izzle b®oofron sure cool dizzle mollizzle. Suspendisse yippiyo. Morbi odio. Vivamizzle fo shizzle mah ®nizzle fo rizzle, mah home g-dizzle. I'm in the shizzle dawg. Crizzle maurizzle izzle, away a, feugizzle sizzle amet, pot izzle, pede. Pellentesque gravida. Bizzle break it down mi, check it out in, sagittizzle mah nizzle, daahng dawg shizzle my nizzle crocodizzle, crackalackin. Da bomb fizzle ipsizzle. Crunk volutpizzle felis vizzle orci. Cras funky fresh justo izzle pur®us sodales ornare. My shizz venenatizzle justo my shizz crackalackin. Shizzlin dizzle urna. Suspendisse boofron placerat lacus. Curabitizzle things ante. Nunc sure, leo eu check out t®his break it down,® boofron felis elementizzle sizzle, th®at's the shizzle aliquet i'm in the shizzle felizzle luctus pede. Nam dope nisl. Pizzle aptent taciti fizzle black fizzle dang uhuh ... yih! conubia dang®, pizzle go to hizzle hymenizzle. Aliquizzle ®interdizzle, fo nizzle fo shizzle nonummy, shit orci shit leo, izzle you son of a bizzle risizzle arcu fo sem.
</body>
CSS
sup {
color: red;
}
JavaScript
var txt = $("body").text();
txt = txt.replace(/®/g, '<sup>®</sup>');
$("body").html( txt );