Defect #38100 ยป 38100.patch
app/models/changeset.rb | ||
---|---|---|
296 | 296 |
class << self |
297 | 297 |
# Strips and reencodes a commit log before insertion into the database |
298 | 298 |
def normalize_comments(str, encoding) |
299 |
Changeset.to_utf8(str.to_s.strip, encoding)
|
|
299 |
Changeset.to_utf8(str.to_s, encoding).strip
|
|
300 | 300 |
end |
301 | 301 |
def to_utf8(str, encoding) |