encode &amp; and &nbsp;