From fc88e3ce1eaa0480cde1c4015797323fafc71b33 Mon Sep 17 00:00:00 2001 From: MAEDA Go Date: Sun, 9 Jul 2017 08:45:51 +0900 Subject: [PATCH 1/2] Strip leading and trailing spaces from subjects. --- script/changelog.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0 (Apple Git-81)