I am not understanding where i am going wrong. I have input as
input = '<a href="/abc/def/ghi/a00">HI </a>';
I am trying to convert it to html so i used
$('.class').html(input);
but It was not displaying properly, so i made inspect element.It was looking like
<a href=" abc="" def="" ghi="" a00"="">HI
</a href=">