[[!template id=gitbranch branch=smcv/ready/map author="[[Simon McVittie|smcv]]"]] [[!tag patch]] `\[[!map]]` can generate bad HTML with unbalanced open/close tags (in XML terms: "not well-formed") in certain situations. This appears to be a regression caused by fixing [[maps with nested directories sometimes make ugly lists]], which suppressed some redundant `