Revert "Fix #542"

This reverts commit 2f3dd3d227.
This commit is contained in:
bootstraponline
2012-10-13 12:55:43 -06:00
parent 2f3dd3d227
commit 66fc8a2d31
-6
View File
@@ -407,12 +407,6 @@ module Gollum
presence = "present"
end
link = ::File.join(@wiki.base_path, page ? page.escaped_url_path : CGI.escape(link_name))
# //page is invalid
# strip all duplicate forward slashes using helpers.rb clean_url
# //page => /page
link = clean_url link
%{<a class="internal #{presence}" href="#{link}#{extra}">#{name}</a>}
end
end