by <%= page.author_link %>
at <%= page.created_at.strftime "%H:%M" %>
diff --git a/app/views/wiki/revision.rhtml b/app/views/wiki/revision.rhtml
index d54ad01b..1819e37e 100644
--- a/app/views/wiki/revision.rhtml
+++ b/app/views/wiki/revision.rhtml
@@ -25,9 +25,9 @@
<% if @revision.next_revision %>
<% if @revision.next_revision.number < (@page.revisions.length - 1) %>
-
+
<% else %>
-
+
<% end %>
Forward in time
(<%= @revision.page.revisions.length - @revision.next_revision.number %> more)
@@ -38,11 +38,11 @@
<% end %>
<% if @revision.previous_revision %>
-
Back in time
+
Back in time
(<%= @revision.previous_revision.number + 1 %> more)
<% end %>
- |
See current
+ |
See current
<% if @revision.previous_revision %>
@@ -53,7 +53,7 @@
<% end %>
- |
Rollback
+ |
Rollback
<% if @page.references.length > 0 %>
diff --git a/app/views/wiki/rollback.rhtml b/app/views/wiki/rollback.rhtml
index 7dba172a..d7fa656a 100644
--- a/app/views/wiki/rollback.rhtml
+++ b/app/views/wiki/rollback.rhtml
@@ -6,7 +6,7 @@
<%= "Please correct the error that caused this error in rendering:
#{@params["msg"]}
" if @params["msg"] %>
-
diff --git a/app/views/wiki/rss_feed.rhtml b/app/views/wiki/rss_feed.rhtml
index 542490ae..49bc2b9c 100644
--- a/app/views/wiki/rss_feed.rhtml
+++ b/app/views/wiki/rss_feed.rhtml
@@ -13,8 +13,8 @@
<%= CGI.escapeHTML(page.display_content) %>
<% end %>
<%= page.created_at.strftime "%a, %e %b %Y %H:%M:%S %Z" %>
-
<%= url_for :only_path => false, :web => @web_name, :action => 'show', :id => page.name %>
-
<%= url_for :only_path => false, :web => @web_name, :action => 'show', :id => page.name %>
+
<%= url_for :only_path => false, :web => @web_name, :action => 'show', :id => page.url %>
+
<%= url_for :only_path => false, :web => @web_name, :action => 'show', :id => page.url %>
<%= WikiWords.separate(page.author) %>
<% end %>
diff --git a/app/views/wiki/search.rhtml b/app/views/wiki/search.rhtml
index 19da5cdf..8cbe47a3 100644
--- a/app/views/wiki/search.rhtml
+++ b/app/views/wiki/search.rhtml
@@ -4,7 +4,7 @@
<%= @title_results.length %> page(s) containing search string in the page name:
<% end %>
@@ -14,7 +14,7 @@
<%= @results.length %> page(s) containing search string in the page text:
<% end %>
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb
index 3f93cf45..84c7532a 100755
--- a/test/functional/wiki_controller_test.rb
+++ b/test/functional/wiki_controller_test.rb
@@ -409,7 +409,7 @@ class WikiControllerTest < Test::Unit::TestCase
['http://localhost:8080/wiki1/show/HomePage',
'http://localhost:8080/wiki1/show/Oak',
'http://localhost:8080/wiki1/show/Elephant',
- 'http://localhost:8080/wiki1/show/Title With Spaces']
+ 'http://localhost:8080/wiki1/show/Title+With+Spaces']
assert_template_xpath_match '/rss/channel/link',
'http://localhost:8080/wiki1/show/HomePage'