Fixed problem with html encoding.