Bug in Sitemapper

http://dev.radiantcms.org/radiant/wiki/HowToMakeASiteMap

The sitemap example on the wiki has a bug that it adds an
unnecessary

for every parent without children. This makes
for uglier html (and unwanted spacing) on my site. Does anyone have a
clever way to avoid rendering the additional
    ?

    Thanks!
    Colin