Jquery remove '/' from <img> tag?
<p>I have: </p>

<pre><code>&lt;img class="avatar_img" /&gt;
</code></pre>

<p>and after: </p>

<pre><code>avatar_img.attr({src: "/site_media/avatars/" + this.userid + ".jpg", title: this.username});
</code></pre>

<p>I get: </p>

<pre><code>&lt;img title="admin" src="/site_media/avatars/1.jpg" class="avatar_img"&gt;
</code></pre>

<p>As you can see, slash "/" from end of tag has disappeard. How can I fix it? It seems to make some problem with render my site...</p>

<p>Doctype and others...</p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
&lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
</code></pre>
