use global htmlentities for namespace