ensured html entities are correctly displayed