add encodeHtmlEntities option test for element attributes