Restore the normalize check that appears to be inadvertantly removed (#1802)
* Add test for normalize on upload Co-authored-by: Dawa Ometto <d.ometto@gmail.com>
This commit is contained in:
+1
-1
@@ -273,7 +273,7 @@ module Precious
|
||||
options.merge! author
|
||||
end
|
||||
|
||||
normalize = Gollum::Page.valid_extension?(fullname)
|
||||
options[:normalize] = Gollum::Page.valid_extension?(fullname)
|
||||
|
||||
begin
|
||||
wiki.write_file(reponame, contents, options)
|
||||
|
||||
Reference in New Issue
Block a user