Replace only occuring in first element
<p>Can someone help on why this is only replacing the '[m]' in the first LI?  The rest of them stay as '[m]'</p>

<pre><code>  aData[2] = "&lt;li&gt;1[m]&lt;/li&gt;&lt;li&gt;2[m]&lt;/li&gt;&lt;li&gt;3[m]&lt;/li&gt;"

  $.html( aData[2].replace('[m]','[media]') )
</code></pre>
