I'm building a html table using javascript on the fly and I want to add a cell that may contain html markup. I do not want that markup interpreted but simply displayed.
LogHTML += "<tr><td>" + data + "</td></tr>";
How can I do that? Is there some function or html markup that will accomplish that?
I tried pre but then I get extra spaces.