Html text

Any idea why this doesn’t work?
txt2.html=true;
txt2.htmlText = “<img src=‘images/correct.jpg’>”;

but…

txt2.html=true;
txt2.htmlText = “some_text<img src=‘images/correct.jpg’>”;

this works fine