Replacing &gt; with > and &amp; with &