Just submitted a pull-request. I figured out that if the output is wrapped into a div it‘s getting loaded properly. Please don‘t ask why ?
/edit:
Thanks for sharing your module!
Heythere,
to run the XML sitemap module from pete you'll have to add 3 more lines to your config:
location = /sitemap.xml {
try_files $uri $uri/ /index.php?it=$uri&$args;
}
Otherwise you'll get an 404 error.
Cheers from austria!