# Bug in Sitemapper

**URL:** <https://www.ruby-forum.com/t/bug-in-sitemapper/91865>\
**Category:** Radiant CMS\
**Created:** [April 12, 2007, 10:35pm UTC](https://www.ruby-forum.com/t/bug-in-sitemapper/91865 "2007-04-12T22:35:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nolic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/13edae/32.png) [@nolic](https://www.ruby-forum.com/u/nolic)\
**Post date:** [April 12, 2007, 10:35pm UTC](https://www.ruby-forum.com/t/bug-in-sitemapper/91865/1 "2007-04-12T22:35:11Z")

</div>

[http://dev.radiantcms.org/radiant/wiki/HowToMakeASiteMap](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
