Merge pull request #1234 from repotag/wssub_fix

Found more spurious whitespace substitution.
This commit is contained in:
Dawa Ometto
2017-04-23 11:53:48 +02:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -306,7 +306,7 @@ module Precious
temppage = wiki_page("/_Template") temppage = wiki_page("/_Template")
@template_page = (temppage.page != nil) ? temppage.page.raw_data : "Template page option is set, but no /_Template page is present or committed." @template_page = (temppage.page != nil) ? temppage.page.raw_data : "Template page option is set, but no /_Template page is present or committed."
end end
wikip = wiki_page(params[:splat].first.gsub('+', '-')) wikip = wiki_page(params[:splat].first)
@name, ext = wikip.name.to_url @name, ext = wikip.name.to_url
@path = wikip.path @path = wikip.path
@allow_uploads = wikip.wiki.allow_uploads @allow_uploads = wikip.wiki.allow_uploads
+1 -1
View File
@@ -46,7 +46,7 @@ module Precious
end end
def page_name def page_name
@name.gsub('-', ' ') @name
end end
def formats def formats
+1 -1
View File
@@ -16,7 +16,7 @@ module Precious
end end
def page_name def page_name
@name.gsub('-', ' ') @name
end end
def header def header