title: Using HTML in a jQuery string
body: <p>I'm not experienced with JS, so please excuse the presumably very beginner question. </p>
  
  <p>I have this line:</p>
  
  <pre><code>$el.text(type + "|");
  </code></pre>
  
  <p>I need to wrap the <code>"|"</code> in span tags such as <code>'&lt;span class=""&gt;|&lt;/span&gt;'</code> though when I do so it simply prints out the tags as text as opposed to embedding them as HTML wraps. </p>
  
  <p>How do I go about doing this?</p>