issue with html escape-sequences fixed