fix(docs): correctly generate sitemap

This commit is contained in:
Igor Minar
2012-06-26 14:50:19 -07:00
parent 6d9313a68d
commit f0a090ddf2
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ describe('sitemap', function() {
var map = new SiteMap([new Doc({section: 'foo', id: 'a.b.c<>\'"&'})]);
expect(map.render()).toContain([
' <url>',
'<loc>http://docs.angularjs.org/#!/foo/a.b.c&lt;&gt;&apos;&quot;&amp;</loc>',
'<loc>http://docs.angularjs.org/foo/a.b.c&lt;&gt;&apos;&quot;&amp;</loc>',
'<changefreq>weekly</changefreq>',
'</url>'].join(''));