diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-09 07:23:44 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-09 07:23:44 +0000 |
commit | c781bfb4438b9216bbc39f26847912a78498894c (patch) | |
tree | 101eff3781b0dbfd1aa752901644bb8f1c983265 /script | |
parent | 2350d493b84b133b74307665b30e8c4c5528241d (diff) | |
download | redmine-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.rb | 2 |
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 |