add whitespace <span> on space bar
<p>I currently have this function:</p>

<pre><code>if (e.keyCode == 32){
    var $cursor = $("#cursor")
    $cursor.val("");
    this.append("&lt;span class = 'space'&gt;-&lt;/span&gt;");
    $cursor.insertAfter(".space:last");
    $cursor.focus();
}
</code></pre>

<p>I was wondering how one would add a whitespace for the span, right now I add a dash for testing.</p>
