Skip to content

Commit

Permalink
revert full-width space support.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 24, 2010
1 parent 1a9a8f8 commit f332d9e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,7 @@ def prepare_real_name(name)
when /\//
name.gsub(/\s*\/+\s*/, "\n")
else
encoding = nil
encoding = name.encoding if name.respond_to?(:encoding)
name = name.gsub(/[\s ]+/, "\n")
name.force_encoding = encoding if encoding
name
name.gsub(/\s+/, "\n")
end
end

Expand Down

0 comments on commit f332d9e

Please sign in to comment.