made updateDisplay function able to handle some html-escaped characters (<, >, &)