title: jquery prepend adds an unwanted space
body: <p>I want to add a div to another div after a form submit with Ajax.</p>
  
  <p>It works but , for no reason, prepend() add a whitespace after the declaration of a span.</p>
  
  <p>I'm using this code (sorry a bit long): </p>
  
  <pre><code>$('#list_tweet').prepend('&lt;div class="tweet" data-idtweet="' + data.id +         '"&gt;&lt;div class="dropdown"&gt;&lt;button class="btn btn-default dropdown-toggle pull-right" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"&gt;    ...&lt;/button&gt;&lt;ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu1"&gt;&lt;li&gt;&lt;a href="#" data-idtweet="' + data.id +'"  title="Effacer ce tweet"  class="deletetweet" onclick="return false;"&gt;Effacer ce tweet&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;img src="/instatux/img/' + data.avatar_session + '"alt="image utilisateur" class="img-circle vcenter"/&gt;&lt;a href="/instatux/' + data.auth_name +'" class="link_username_tweet"&gt;' + data.auth_name + '&lt;/a&gt;&lt;span class="alias_tweet"&gt;@' + data.auth_name +'&lt;/span&gt; - A l\'instant&lt;p&gt;' + data.contenu_tweet +'&lt;/p&gt;&lt;span class="nb_like"&gt;&lt;span class="glyphicon glyphicon-heart" style="vertical-align:center&gt;&lt;/span&gt;&lt;span id="compteur_like-' + data.id + '"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span class="nb_comm_share"&gt;0 commentaire(s) - 0 partage(s)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="link_comm_share"&gt;&lt;span class="glyphicon glyphicon-thumbs-up" style="vertical-align:center"&gt;&lt;/span&gt; &lt;a href="#" data-value="'+data.id+'" class="link_like" onclick="return false;"&gt;J&amp;#039;aime&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="glyphicon glyphicon-comment" style="vertical-align:center"&gt;&lt;/span&gt;&amp;nbsp;&lt;a href="/instatux/post/'+data.id+'"&gt;Commenter&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;');
  </code></pre>
  
  <p>The problem is <code>&lt;span id="compteur_like-' + data.id + '"&gt;0&lt;/span&gt;</code>, when i look the source code there is a whitespace before compteur_like and i need to access to this element after.</p>
  
  <p>How can i avoid this ?</p>
  
  <p>Thanks</p>