Replace '&nbsp;' with '&#160;', so that the legend works in XHTML pages as well
Merge pull request #308 from yankee42/fixXmlEntities

Replace '&nbsp;' with '&#160;', so that the legend works in XHTML pages