File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ describe('sitemap', function() {
15
15
var map = new SiteMap ( [ new Doc ( { section : 'foo' , id : 'a.b.c<>\'"&' } ) ] ) ;
16
16
expect ( map . render ( ) ) . toContain ( [
17
17
' <url>' ,
18
- '<loc>http://docs.angularjs.org/#!/ foo/a.b.c<>'"&</loc>' ,
18
+ '<loc>http://docs.angularjs.org/foo/a.b.c<>'"&</loc>' ,
19
19
'<changefreq>weekly</changefreq>' ,
20
20
'</url>' ] . join ( '' ) ) ;
21
21
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function SiteMap(docs){
12
12
map . push ( '<?xml version="1.0" encoding="UTF-8"?>' ) ;
13
13
map . push ( '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' ) ;
14
14
docs . forEach ( function ( doc ) {
15
- map . push ( ' <url><loc>http://docs.angularjs.org/#!/ ' +
15
+ map . push ( ' <url><loc>http://docs.angularjs.org/' +
16
16
encode ( doc . section ) + '/' +
17
17
encode ( doc . id ) +
18
18
'</loc><changefreq>weekly</changefreq></url>' ) ;
You can’t perform that action at this time.
0 commit comments