JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
//change cat1
var aTags = document.getElementsByTagName("a");
for (var i = 0; i < aTags.length; i++) {
if (aTags[i].textContent.indexOf("KCC")>=0) {
aTags[i].textContent = aTags[i].textContent.replace('KCC', '<img ... />');
}
}
});
</script>
</head>
<body>
<a target="new" href="#"><img ... /> 26 v MIN 23</a>
</body>
</html>