преобразовать элемент в строку HTML
html_entity_decode
$temp = "<font class='red font-price'> 30 </font>";
echo html_entity_decode($temp);
Zidane (Vi Ly - VietNam)
html_entity_decode
$temp = "<font class='red font-price'> 30 </font>";
echo html_entity_decode($temp);
var divEle = document.createElement('span');
var span = document.createElement('li');
span.innerHTML = "Sync";
divEle.append(span);