summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-09 07:23:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-09 07:23:44 +0000
commitc781bfb4438b9216bbc39f26847912a78498894c (patch)
tree101eff3781b0dbfd1aa752901644bb8f1c983265 /script
parent2350d493b84b133b74307665b30e8c4c5528241d (diff)
downloadredmine-c781bfb4438b9216bbc39f26847912a78498894c.tar.gz
redmine-c781bfb4438b9216bbc39f26847912a78498894c.zip
Strip leading and trailing spaces from subjects (#26388).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16782 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'script')
-rw-r--r--script/changelog.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/changelog.rb b/script/changelog.rb
index 9e4618ce8..e7ecece34 100644
--- a/script/changelog.rb
+++ b/script/changelog.rb
@@ -191,7 +191,7 @@ module Redmine
issue_hash = { 'id' => tr.css('td.id > a').text.to_i,
'tracker' => tr.css('td.tracker').text,
- 'subject' => tr.css('td.subject> a').text }
+ 'subject' => tr.css('td.subject> a').text.strip }
@changelog_items[cat].push(issue_hash)
end
end