handle HTML entities
fixes in XAR export to make XWiki import work