here is my current line of code:
$("<li>").text($(this).text()).appendTo("#theList");
Which results in
<ul id="theList">
<li>blah</li>
<li>blah</li>
</ul>
How can I update that code above to result in:
<ul id="theList">
<li><span>blah</span></li>
<li><span>blah</span></li>
</ul>