Permalink
Browse files

fixup! Escape URLs in sitemaps (fixes #1052)

  • Loading branch information...
ddfreyne committed Jan 10, 2017
1 parent 0e78f9f commit a90e79bc71d0675d376b453929ac276e3badd182
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/helpers/test_xml_sitemap.rb
@@ -192,7 +192,7 @@ def test_url_escape
@items = Nanoc::Int::IdentifiableCollection.new({})
item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('some content 1', {}, '/george/'), @view_context)
@items << item
create_item_rep(item.unwrap, :default, "/cool projects/проверка")
create_item_rep(item.unwrap, :default, '/cool projects/проверка')
# Create sitemap item
@item = Nanoc::ItemWithRepsView.new(Nanoc::Int::Item.new('sitemap content', {}, '/sitemap/'), @view_context)

0 comments on commit a90e79b

Please sign in to comment.