fixes #591, html encoding missing