added html entity formatter