fixes problems with browser compatibility and special html characters in...

... fields