Use LIBXML_NOEMPTYTAG to avoid creating self-closing <a> tag
Browsers just treat the self-closed <a> tag as only the open
tag, so anything after the map would become linked.
tidy normally cleans this up, but other wikis without it, or
those using RemexHtml would see this issue.
Fix suggested by Phabricator user Porplemontage